Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cancel url response paypal

Tags:

php

paypal

I'm new using paypal and I'm searching this question in 1 day. I need your help guys. I've done coding express checkout API and I successfully getting the payment transaction but my problem is the cancel url. When I cancel my payment, it returns to my cancel url and the paypal gives token like this url http://www.example.com/?token=EC-75630865LV806263H

Is it possible to get the firstname, lastname or any info about the client when the client click the cancel and return to my cancel url?

If ever possible can you give me link or tutorial on how to get the info of client when do cancel url.

thanks in advance.

like image 260
user3818576 Avatar asked Jul 09 '14 01:07

user3818576


1 Answers

I would assume not, since usually the cancel button is pressed before authentication but I've not tried it mid-process either. Normally the process is they log in, confirm payment and PayPal bounces them back to your payment completion page. But it could be possible to call getExpressCheckoutDetails if they cancel after authenticating. Again, I've never tried. But the worst that will happen is PayPal fails to return anything.

like image 56
Machavity Avatar answered Sep 28 '22 08:09

Machavity