You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done everything exactly according to documentation, but unfortunately script is not working for me.
When i click on button, i get redirected to paypal, which is ok, after sandbox payment (have tested without sandbox mode as well) i get redirected back, callback onConfirmation() is invoked and nothing happens afterwards - no balance is transfered as well.
Last thing that happens is calling component handler handleConfirmation() nette action looks like Video:User:orderDetail paypalButton-confirmation!
As i checked code, there is function confirmExpressCheckout() which is NEVER called and i think there is something wrong with it, as well it contains onSuccessPayment() which should invoke callbacks.
The text was updated successfully, but these errors were encountered:
@lexinek That's the way it's supossed to work. You should have control over payment confirmation, you may want to run some checks (i.e. order status in DB) before accepting the payment.
Current docs are unclear about that. Would you mind creating a PR? :)
I have done everything exactly according to documentation, but unfortunately script is not working for me.
When i click on button, i get redirected to paypal, which is ok, after sandbox payment (have tested without sandbox mode as well) i get redirected back, callback
onConfirmation()
is invoked and nothing happens afterwards - no balance is transfered as well.Last thing that happens is calling component handler
handleConfirmation()
nette action looks likeVideo:User:orderDetail paypalButton-confirmation!
As i checked code, there is function
confirmExpressCheckout()
which is NEVER called and i think there is something wrong with it, as well it containsonSuccessPayment()
which should invoke callbacks.The text was updated successfully, but these errors were encountered: