Hi thanks a lot, I have seen those links and used them. The problem I face is payment goes through indeed but there is now way of checking response in wix? I just want to get back to wix word “authorised”. I just want to get any information back from payment system to wix through lightbox iframe or any other way.
I use iframe in the lightbox at the moment.
Lightbox page code:
import wixWindow from ‘wix-window’;
$w.onReady( function () {
let received = wixWindow.lightbox.getContext();
console.log("Received: ", received);
// $w(‘#Pay_lightboxReceive1’).text = received.pageSend1;
// $w(‘#lightBoxReceive2’).text = received.pageSend2;
} );
export function closeButton_click(event) {
wixWindow.lightbox.close( {
“Response”: “Test”
// “lightBoxSend2”: $w(‘#lightBoxSend2’).value
} );
}
Iframe code:
Pay