We use the Iranian payment plugin and we encounter this error with the new WooCommerce update. There are no payment methods available. This may be an error on our side. Please contact us if you need any help placing your order.
This topic was modified 2 years, 1 month ago by pegahszi.
It looks like updating WooCommerce to its latest version has resulted in an error on your sites checkout page when using the Iranian payment plugin, is this correct?
Are you currently using the Checkout shortcode or the Checkout block? If the latter, it’s possible that this is due to incompatibility between the payment gateway plugin and the Checkout block. You can see the list of compatible payment gateways here:
If this is not the case, please clarify if this same issue occurs when using a different payment method/gateway on your site. To check, can you navigate to WooCommerce → Settings → Payments, temporarily disable the Iranian payment gateway, enable “Cash on Delivery”, and see if the issue is resolved:
If you do make any changes to your live site, we always recommend ensuring that you have a good backup of your full site and database before doing this, so that, should something go wrong, you are able to easily restore your site to a functioning state.
By removing the payment and cart pages and creating new pages with shortcode, this problem was solved. But I am the developer of this payment plugin. Please tell me which part of the code needs to be edited. Because I have many users, the plugin must be updated.
I applied this fix months ago for another issue. Now it has returned. When I edit the checkout page, the shortcode is still there, but all payment methods are now broken. Oddly, if I duplicate the Checkout page, the payment methods on that one work… but not the actual page that is assigned as the checkout page.
If I set checkout in Woocommerce settings to the newly created page, then that one is broken just like the original.
This reply was modified 2 years, 1 month ago by industrialweb. Reason: clarity
By removing the payment and cart pages and creating new pages with shortcode, this problem was solved.
We’re glad that the solution suggested above solved your problem here and it is indeed an incompatibility issue.
But I am the developer of this payment plugin. Please tell me which part of the code needs to be edited. Because I have many users, the plugin must be updated.
This is a bit of a complicated topic that would need some customization to address. Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.
If you have any other questions related to development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below: