Alternative to iFrame Form?
-
I want to implement showing certain payment gateways based on the country of the billing address. This can be implemented with a filter and unsetting gateways based on the country code.
This works perfectly with Stripe and other checkout options like check or things that use native WC payment gateways.However, I think because GDP implements an iframe for the payment details inputs, if the billing country is changed on the checkout page, which causes the GDP gateway to be shown and something else removed, the GDP gateway is shown as/when I want it to, but the card and other entry fields are missing. If you refresh the checkout page, then they appear. I guess the iframe call is triggered.
Is there some alternative to the iframe? Some other options to have the card number and other input fields available like some of the other WC gateway options?
The image shows that after a change to a billing country where I want GDP to be shown for that billing country, the payment option is shown but missing entry fields.
- The topic ‘Alternative to iFrame Form?’ is closed to new replies.