Discussions
How to set success or failed varibles after Web button flow
over 4 years ago by Mirko
I mean this part of the script:
"var satispay = SatispayWebButton.configure({
paymentId: '8f27fbbc-ff4b-45eb-98d0-1cadb3a0afaa',
completed: function() {
// executed on payment success or failure
}
})"
How can use a variable to process the code if the operation was successfull or failed?