Support

Home Forums Community Forum Payment Gateway Customization

Payment Gateway Customization

Posted: January 26, 2017 at 12:27 pm

Viewing 2 reply threads


danieldrouhard

January 26, 2017 at 12:27 pm

Client is using Payflow Pro gateway and is wanting event information to flow through to their Paypal account so their accounting department can see which event was registered for each transaction. With the current config, Paypal is showing Cardholder name, email, Invoice ID, Payment Type (Website Payments Pro API Solution) and Description field (which repeats the Cardholder’s name). Paypal Manager (separate login) is showing the COMMENTS1 and COMMENTS2 fields which shows the event name but that data doesn’t make it into the client’s normal paypal.com dashboard.

So, to try and remedy, we’ve modified /eea-payflow-pro-gateway/payment_methods/Payflow_Pro_Onsite/EEG_Payflow_Pro_Onsite.gateway.php, updating ORDERDESC in the $payment_request_args = array() to the spit out the event(s) but no change we make seems to be having any effect. We even set the ORDERDESC to a simple string and ran a transaction which had no effect. It leads me to think that the array is being overwritten by another function somewhere else in the code before being submitted to Paypal or I’m not updating the proper file. That being said, I have verified we are actually using Payflow Pro gateway by modifying the credentials which, as expected, causes authentication to fail when checking out.

What am I missing? Could anyone point me in the right direction to modifying the Auth request to get the client the data they are wanting? Specifically, updating the description field from cardholder’s name to the event name would be a great start. Thanks in advance!


Josh

  • Support Staff

January 26, 2017 at 12:39 pm

Please don’t modify the plugin code directly. Instead, you can open an issue on Github and let the developers know you need a filter hook to allow modifying the data sent to PayPal. The developer team can work with you on adding a filter hook.


danieldrouhard

January 26, 2017 at 12:53 pm

Will do (and done). Thanks for the quick reply, Josh!

Viewing 2 reply threads

The support post ‘Payment Gateway Customization’ 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