I've tried to use PayPal as payment provider, and fees associated to transactions are percentage of transaction (2.9%). In tea commerce backend I only have field "Default prices" which have static value. How to workaround this?
The variable payment gateway fees is not automatically calculated before payment. They are, however, added to the order AFTER the payment have taken place.
If you want to show the payment fee to the customer you can calculate and show it in the UI yourself. It will be a estimate fee, but that might be enough.
The calculations can never be done using JavaScript because it needs to be server secure. The transaction fee from PayPal will be added to the order when its finalized using the PayPal IPN. If you want to show the estimated transaction fee you will need to have a XSLT/Razor extension to fetch that estimated price from your own custom code.
I don't get it: when order is finalized? Let's say I set Product price at 100, but on PayPal I get only about 96. Transaction is done but transaction fee still isn't added to order.
Payment method as percentage
Hello,
I've tried to use PayPal as payment provider, and fees associated to transactions are percentage of transaction (2.9%). In tea commerce backend I only have field "Default prices" which have static value. How to workaround this?
Regards
Marius
The variable payment gateway fees is not automatically calculated before payment. They are, however, added to the order AFTER the payment have taken place.
If you want to show the payment fee to the customer you can calculate and show it in the UI yourself. It will be a estimate fee, but that might be enough.
/Rune
Is there any way to set payment method fee using JavaScript? The fee isn't calculated automatically after payment.
Marius
Hi Marius
The calculations can never be done using JavaScript because it needs to be server secure. The transaction fee from PayPal will be added to the order when its finalized using the PayPal IPN. If you want to show the estimated transaction fee you will need to have a XSLT/Razor extension to fetch that estimated price from your own custom code.
Kind regards
Anders
I don't get it: when order is finalized? Let's say I set Product price at 100, but on PayPal I get only about 96. Transaction is done but transaction fee still isn't added to order.
Regards
Marius
What Tea Commerce do you use? Sounds like a VAT problem. Did you setup the IPN for paypal?
Kind regards
Anders
I've found what was wrong. The same issue as in http://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/33039-Paypal-Payment-Provider-not-finalizing-order
Regards
Marius
is working on a reply...