Home Forums Event Espresso Premium PayPal Pro Credit Card Info

PayPal Pro Credit Card Info

Posted: February 12, 2018 at 6:18 pm


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!


  • 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:

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):

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

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 5 days, 17 hours ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!