• I’m developing a payment gateway for a specific country, so one of the settings allows the shop owner to limit showing this payment option on the checkout based on the user billing or shipping address country.

    If the user changes address during the checkout, or doesn’t have yet an address set, and that option is set, the payment gateway visibility will not toggle.

    I’m using the fluent_cart/checkout_active_payment_methods filter to remove the gateway conditionally based on the country, but also based on the order total amount.

    So, actually, the payment methods should be reloaded (via the REST API?) for any change that happens on the checkout, not only an address change, but also for shipping options, coupons, and even when a payment method is chosen, and the fluent_cart/checkout_active_payment_methods filter should be applied during the reload.

Viewing 1 replies (of 1 total)
  • Plugin Support Amimul Ihsan

    (@amimulihsanmahdi)

    Hello there,

    We have added the features in one of the recent updates and if any details are changed during the checkout process, the payment gateways are automatically reloaded.

    Thank you

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.