Support

Home Forums Event Espresso Premium PayPal Pro Credit Card Info

PayPal Pro Credit Card Info

Posted: February 12, 2018 at 6:18 pm


jouterleys

February 12, 2018 at 6:18 pm

Hello Again,
I know this question is getting old (see this and this). But I have set up paypal pro with event espresso and everything is working as expected. But in the transaction history in event espresso I see the last 4 digits of the credit card. There’s no way to put these digits in the receipt is there?
Thanks for your help!
J


Tony

  • Support Staff

February 13, 2018 at 5:14 am

Hi J,

One of the problems with pulling that information is it’s not available for all payment methods, on-site payment methods such as PayPal Pro store that info but offsite payment methods such as Braintree do not.

Would that be difficult to accommodate for in the code? Not really as long as they use the same fields but not all do, either way it’s an inconsistency with the data output that isn’t obvious at first and it’s the kind of detail we take into consideration when adding new shortcodes. It also becomes a little more complicated with the fact that eventually, we would like EE to support the ability to have a completely separate ‘purchaser’ for registrations, we don’t know how that will be integrated into EE yet meaning we could add something to pull the details, then have to completely refactor that code again (again, I’m not saying we would need to but these are the kinds of factors we take into consideration).

So to answer your question, yes it is possible to pull that information into the message system but it is not something we are looking to add to the system at this time. You could write your own custom shortcode to pull the info which will work in your specific scenario but it will take a working knowledge of PHP, OOP and WP. If your comfortable doing so take a look here:

https://gist.github.com/Pebblo/e87cc8e30c4848dcdfe2

That’s an example of adding various different types of message shortcodes, here is an example of another user adding their own EE_Transaction_shortcode (which is what you would need to add):

https://gist.github.com/deckchairuk/3edc13ff8c0c0d852a4828045e432594

Note that neither of the above are supported and are intended as a starting point for adding your own.

The support post ‘PayPal Pro Credit Card Info’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso