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.
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.