Support

Home Forums Event Espresso Premium PayPal Pro – Sending Wrong Country Code to PayPal?

PayPal Pro – Sending Wrong Country Code to PayPal?

Posted: August 2, 2018 at 6:19 pm


sosfirstaid.ca

August 2, 2018 at 6:19 pm

Hi Support,

PayPal is saying our EE3 is sending US country code to PayPal, therefore we are getting charged a cross-border processing fee. PayPal said we need to make the change in EE3 to stop this occurring. We want the Canadian country code to be used. Where is this setting within the plugin?

Thanks


Josh

  • Support Staff

August 3, 2018 at 10:17 am

Hi,

Since you’re using the EE3 version, you’ll find that setting in Event Espresso > Payment Settings > PayPal Payments Pro Settings. There you’ll find an option with the label “Select the Currency for Your Country” where you can select Canadian Dollars, then click the Update button.


sosfirstaid.ca

August 3, 2018 at 11:00 am

This is selected. Yet PayPal is saying they are geting US


Josh

  • Support Staff

August 3, 2018 at 11:54 am

OK, thanks for checking. There are no additional settings for this, and it appears that the way the EE3 PayPal Pro gateway was developed was it was only intended to be used for registrations in the US only.

If all the registrations will be coming from Canada you can make an edit to the PayPal Pro gateway by following these steps:

1) FTP in to the server and copy the /paypal_pro/ folder from the event-espresso/gateways folder.
2) put the copy in /wp-content/uploads/espresso/gateways
3) open DoDirectPayment.php and edit line 60 so it reads:
'countrycode' => 'CA',
4) save the file

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  Josh 2 weeks, 2 days ago ago

Topic Tags

Notifications

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