WooCommerce PayPal incorrect sum - wordpress

i use this plugin for paypal express:
https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/
this works fine.
now i would like add an extra fee if my customer chose paypal as payment method.
For this I bought and installed this plugin:
https://www.woothemes.com/products/payment-gateway-based-fees/
All looks good. i can chose the paypal express payment und the fee (12€) will automatically add to the sum (in my shopping cart).
but if I would pay and the paypal page will be open, there is only the sum WITHOUT the fee. What is wrong?

Related

Creating PayPal account isn't optiona

I'm using WooCommerce, with two plugins, PayPal checkout gateway, and yith checkout gateway, although in my PayPal account in web preferences I'm activating the 'optional PayPal account', and in both plugins setting , the chosen checkout style is 'billing non-paypal account' every time I try it I get redirected to login in to PayPal or create an account.
Any idea why?
The feature you mention, 'PayPal account optional', exists so you have the ability to only accept payments from people with an account (when set to 'No').
If set to 'Yes', payments without an account can are possible. But whether that possibility will be offered to a particular buyer in a particular PayPal checkout depends on very many factors, which you do not control.
The only way to have some guarantee of a guest method being offered is to show a credit card form before the buyer reaches a PayPal page, using the black 'Debit or Credit Card' button that is part of Smart Payment Buttons. You can see an example of that here: https://developer.paypal.com/demo/checkout/#/pattern/server
WooCommerce's newest PayPal module has an option to toggle on this type of checkout flow (Smart Payment Buttons)

Wordpress: Cart get empty when payment fails

I tried this...
Goto WooCommerce > Settings > Products > Inventory and remove any value that is present in the Hold Stock (minutes) field.
Normally that is set to 60 minutes (to reserve inventory). If an order is not paid, then WC will cancel the order and release the inventory for use.
But this doesn't affect my problem.
Is there any other solution available for this problem.
For the note, I' using the Paytm payment gateway and Paypal's payment gateway.
So the query was solved. As I'm using the paytm payment gateway and also PayPal payment gateway so when I approach to cancel the payment using the Paypal it restored my cart with an item but when I approach to cancel the payment using the paytm it doesn't restore the cart with items. So basically its plugin problem, as Paytm payment gateway plugin doesn't have that facility to restore the cart if we cancel the payment made using the paytm. So, if same problem occurs to you ask for help with the payment gateway developer as I ask paytm payment gateway developer.

WooCommerce shipping charges isssue with PayPal

Issue in WooCommerce Shipping Calculation with PayPal
Currently Using WooCommerce for cake store and using PayPal for payment gateway.
I have created $5 discount for store pickup. So ideally a $50 product should be $45. That reflects in the website.
But when user goes to "Payment via PayPal", it still shows $50.
Any suggestions how to override shipping calculations of PayPal on WooCommerce?
I saw many articles on google but can't find the appropriate solution.
I also checked the box on override allow transaction-based postage values to override the profile postage settings listed above (if profile settings are enabled), but with no luck.
Can any one help me with this? Thanks in advance.
There are various ways to resolve the issue, but perhaps the most straightforward would be to switch to a PayPal payment plugin that uses an API instead of Payments Standard, for example this official one: https://woocommerce.com/woocommerce-and-paypal/ (there are also various third party ones available)
Then, profile shipping settings in the PayPal account will not affect WooCommerce transactions in any way, since everything about the transaction will be set via the API. This is also a more robust and feature-rich solution in general, and so recommended by both PayPal and most programmers/developers familiar with PayPal integration methods.

Woocommerce orders not being received by PayPal, but email suggests otherwise

Having a nightmare with this and cannot find a solution anywhere - the only similar issues I find are the exact opposite problem!
Placing an order using PayPal (standard) at checkout puts the order 'On hold' in wp, but completes on the front end and the user even receives the PayPal receipt so are none the wiser. In the PayPal business account there is nothing.
Interestingly, PayPal express checkout works fine! So the account is definitely setup correctly. Something I have noticed is that the receipt from the express checkout transaction and from the standard have different Merchant names - the standard one (the one not working)has the name#emailaddress.com rather than the merchant name. This would suggest that this is the issue, but I've been into the business settings and checked this as well as the Woocommerce settings and everything is in order.
Any ideas? Thanks in advance!
For Woocommerce PayPal standard you have to enable Auto return url and Notification url(Instant payment notification) which will update the order status on your woocommerce. Refer the following URL link: https://docs.woocommerce.com/document/paypal-standard/ and enable both Auto return & Instant payment notification settings on the Merchant/Business PayPal account. Please note that Merchant PayPal account is not linked with any other website.
PayPal Express checkout is recommended: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
I would recommend you just stick with Express Checkout. It has many more features and options than PayPal Standard. I would recommend the PayPal for WooCommerce, though, which is the one PayPal reps would recommend as well if you talk to them.

PayPal not receiving shipping cost: Validation error: PayPal amounts do not match (gross <N>). Order status changed from Pending Payment to On Hold

I have Woocommerce, UPS shipping and USPS shipping plugin activated on site. Things work working perfectly before the latest update of plugins. I am using Woo 2.6.3 and its addons.
After the update PayPal is not able to receive the shipping cost for the order and hence it process only product total without shipping cost and on site we receive an error as:
Validation error: PayPal amounts do not match (gross 2.75). Order status changed from Pending Payment to On Hold.
When I checked the log for PayPal in the request woocommerce does not add shipping cost under "payment_gross" and "mc_gross"
I have posted ticket for same to Woocommerce support but they will take too long to revert and as it's a live site I can't hold that much.
WooCommerce 2.6+ sends shipping costs as a ‘real’ shipping line item via PayPals API.
If your PayPal account has shipping rules setup within it, these will take over and remove the cost WooCommerce sends across.
So You need to remove all the shipping rule set from your paypal account.
Check below link for more details:
https://docs.woocommerce.com/document/paypal-standard/#my-shipping-costs-are-not-transferring-to-paypal

Resources