I can't seem to locate a way to get confirmation of payment or refusal of payment.
There seems to be a PaymentConfirmation_Callback action in the screenshots, is this related?
Thanks so much
I found the method PaymentConfirmation_Callback but it wasn't public.
I realised I could instead bring the client action inside the page, and thereby trigger a new event PaymentSuccess which can be handled in the consumer of the connector.
I have attached screenshots and samples, basically it allows the success event to trigger a page change.
I found the popup, and implemented this, so there is no separate "PaymentSuccess" page needed, just using the provided popup for payment and order confirmation.
I've also implemented the order to be created in the database.
Please ignore the .oap attached to this reply.
I will post updated files below.
Here is the updated demo with success event handling.
Here is updated connector with success event handling.