Posted: March 15, 2017 at 9:56 am
|
I’d like to have a surcharge for the paypal fee. I found this code, but I doesn’t work. The extra fee is not adding to the paypal cart.
I’m using EE4.. Is that above method working just for Paypal Stardard? I think EE4 works just with Paypal Express, right? |
Hi Sarah, EE4 used to only use PayPal standard which is where the above snippet came from, however we now ship with PayPal Express which uses a different filter:
however the code for the above will also be different as Express uses different arguments than standard. Before moving forward do you know its against PayPals user agreement to charge a surcharge specifically for PayPal transactions? https://www.paypal.com/ie/webapps/mpp/ua/useragreement-full |
|
|
My client said she called PayPal and they said we can do it… We will put something on the site telling buyer why there is the surcharge (as the agreement says). ok so… let me know how can I fix the code. Thanks! |
|
Can you give me the update code to make it work with paypal express?
|
Hi there, I’m not so sure the code for PayPal Standard can be “fixed” as it were so it’d just work with PayPal Express. I can probably point you in the direction for how to achieve recouping the costs of using PayPal versus the other payment method. May I ask, what are the other payment methods activated on their site? Are they Invoice, Check, something else? |
|
|
I have the check option and paypal express. Yes let me know the direction to solve this issue. Thanks |
The direction I recommend going would be to tack on the prices into the tickets. So for example you add 3% to the ticket price, or even add a price modifier at 3% in the advanced part of the ticket editor (which will take care of the calculation for you). This way the prices on the website will match the prices that the PayPal customers will pay, (which will avoid the surprises later). Then, you add some code to the site that will give Check payment customers a discount that matches the offset to cover the fees. Here’s a link to some example code: You’ll need to change lines 10-14 to your liking, and line 15 so it sets the discount to apply to the
You can add the code to a functions plugin, then activate the plugin. |
|
The support post ‘Adding Paypal Surcharge Fee’ 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.