We need to save the charge id at the beginning of the payment process before redirecting to the 3D-secure page.
We tried using the callback function but apparently that's intended for after the payment is completed and the user is redirected back to the redirect URL.
Is there a way to obtain the charge id before redirecting the user to the 3D-secure page?
Ideally, there would be a callback function the library returns the charge object to after the user enters their card details and clicks on pay in the case of goSell.openLightBox(), then we can save the charge id and redirect the user to the 3D-secure URL (transaction.url)
We need to save the charge id at the beginning of the payment process before redirecting to the 3D-secure page. We tried using the
callback
function but apparently that's intended for after the payment is completed and the user is redirected back to the redirect URL.Is there a way to obtain the charge id before redirecting the user to the 3D-secure page? Ideally, there would be a callback function the library returns the charge object to after the user enters their card details and clicks on pay in the case of goSell.openLightBox(), then we can save the charge id and redirect the user to the 3D-secure URL (transaction.url)