rbnsa.blogg.se

Hikashop paypal plugin
Hikashop paypal plugin












hikashop paypal plugin

Here's the new code if anybody else wants it: $methods->payment_price = $currenc圜lass->round((($price_all + / / 100))-$price_all,$currenc圜lass->getRounding($currency,true)) But now when I go to checkout, it's showing the correct fee next to the payment method, but the amount shown under 'Payment fee' at the bottom (and added into the total) is still the old calculation. The price and percentage fields of payment plugins are based on the percentage and price fields of the shipping plugins and the calculations are done the same way, for consistency. And its goal is not to come up with the same fees as PayPal. Payment fees is a system general to all the payment plugins of HikaShop. It's not that this is 'incorrect', it's just not meant to try to do what you want it to do.

hikashop paypal plugin hikashop paypal plugin

So if you put the same numbers in the percentage and price field of the PayPal payment method of HikaShop, the payment fee calculated will have a different value that the fee PayPal will charge. Hi, That's right, PayPal calculate its fees the same way the payment fee HikaShop payment plugins will calculate using the price and percentage settings in them based on the total amount before the fee is added, but since the payment fee calculated by the payment system is added during the checkout, the PayPal fee will be based on the total amount after the HiakShop payment fee has been added.ġ30 mA Special features transmission of licence information via EtherCAT Weight approx. Does that make sense? So the proper calculation would be: ( ( $30+$0.30) / 0.978) - $30 Or in the general case where B is the base amount we want to end up with, P is the price in the configuration menu, Q is the Percentage in the configuration menu and F is the calculated fee: F = (B+P) / (1-Q) - B Please or to join the conversation. So you end up with only $29.98 rather than $30.00. The Paypal fee isn't being calculated correctly, because Paypal calculates the fee based on the total amount you send to them (which includes the fee), not on the base amount.įor example, if your base amount is $30.00 and the Paypal formula is $0.30+2.2%, then it is incorrect to calculate 0.3+2.2%*(30) = 0.96 and then send $30.96 to Paypal. I searched the forum and didn't see anything about this. To integrate paypal in hikashop you need go to hikashop paypal plugin under module sect. If you are a non US user then you need to create a separate Paypal account. Payment methods will be filtered on checkout based on the zone you set for them. Experience psychology 2nd edition powerpoint.














Hikashop paypal plugin