I am integrating my app with a payment service, I can load the payment iframe that they send me but when I fill out the card data, I am left with the question of how to use that iframe data in my api call to submit my payment. Also the iframe components actions are limited to on-Load, MouseOver, and MouseOut. Does anyone have a suggestion how I would continue?
Not sure what payment gateway you are using, but the typical sequence I have seen (with Stripe) is
submit button on the payment form calls the payment gateway and includes a callback URL to your Mendix app
Once the payment is processed, the callback URL in your Mendix app receives a call from the payment gateway with information about the payment (success or failure, confirmation code, etc.)