Payment Gateway Blocks support
-
Hi to all!
I support a payment gateway plugin. It works well with shortcodes and event with latest version of WP and WC if you use it on older site and did upgraded. The problem is with the clean install with WC after v 8.2 and the blocks.
I read few tutorials how to integrate my plugin with the blocks – https://rudrastyh.com/woocommerce/checkout-block-payment-method-integration.html and https://sevengits.com/woocommerce-checkout-blocks/, searched in this site, also checked how COD and few more GWs works, but no success.
I added declaration for blocks support, created block-integration class and js file.
I use clean install with default theme, WC and my plugin. Only my plugin is enabled. When go to theme template editor I see my gateway when it is enabled:
But at same time I see warning that my gateway does not support Blocks:
On the checkout page my gateway is missing, but if I call in the console wcSettings.paymentMethodData it is there as only payment method with all of its data, as I set it.
Any hints or directions what to check or do now?
Regards!
- The topic ‘Payment Gateway Blocks support’ is closed to new replies.