How to remove pay button for failed orders in woocommerce? - woocommerce

I have build a cusotm payment gateway which i am getting pay button for failed orders. Is there any way to remove this button in woocommerce through that custom payment gateway plugin

Related

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.

Why would Woocommerce Paypal guest checkout not work for my customers but making payments with a PayPal account does?

I’m using WooCommerce and for some reason, folks can pay with logging in to PayPal but not as guests.
The order shows up in WooCommerce and it’s pending - then it switches to canceled status and payment doesn’t get sent to me. guest checkout is enabled in PayPal.

Woocommerce Amazon Pay how to set State Sales Tax

In Woocommerce I am using WooCommerce Amazon Payments Advanced Gateway plugin. Everything is working properly. But I want to add sales tax for particular state. In woocommerce Tax settings everything has been set. If user select different payment option and if their shipping state is "Connecticut" then tax is adding properly. But if user select Amazon pay option and their shipping state is "Connecticut" then Tax is not added. So can anyone please help me how can I set state tax for Amazon pay.
You can use Amazon Pay WooCommerce payment gateway for your business
Install and active this plugin for your wordpress site
Amazon Pay WooCommerce payment gateway features and benefits:
Single, Subscription and Recurring Payments
Refund with Amazon Pay option from WP Admin
Add WooCommerce Subscription Products
Revenue with automatic Recurring Payment
Customized Order status "Subscription & Recurring"
Customized "Thank you page" message
Mode of transaction Sandbox and Live
Amazon Pay Transaction ID
Seller Order Reference ID
Next payment date for Recurring Payment
LIVE Payment Status On "Thank you page"
Alert/Notice for subscription product purchase on checkout page
Thanks.

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

Woocommerce Subscriptions Signup Fee as Installments

I need to implement Installment option for the Signup fee for Subscription products in my woo-commerce store.
I am using "Woocommerce", "Woocommerce Subscriptions", "Woocmmerce Stripe Gateway" plugins.
I have tried Woocommerce Installments plugin. But it just splits the Monthly subscription fee in to installments instead of Signup Fee.
I have even tried setting the signup fee of the item as 0 and sending invoice for installments using WP-Invoice - Web Invoice and Billing plugin. But the issues are there is no option for synchronized payment and setting duration.
I have even tried editing the plugin, but it ended up in a mess.
How can I implement this feature and achieve my goal?

Resources