-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to obtain Transaction ID of successful payment #249
Comments
I am also experiencing the same issue |
It is possible to get the transaction reference.
That reference is not the same as the one displayed on paypal.com but the payment can still be found with it if you enter it in the search field. EDIT: Fixed the below mentioned typo |
@dseeger EDIT: Didn't notice the typo in your code lol, this actually works well enough for me - thank you! |
|
@judgej yeah I copy pasted the original comment which had a spelling mistake on "Reference" lol. Once I fixed that it worked just fine |
I'm terribly sorry for asking here as this is not exactly a bug but I've searched far and wide and I just cannot find the answer to a simple question and it's driving me crazy.
I'm using omnipay-paypal to take payments, it's a very simple flow that uses the PayPal_Rest gateway to call purchase() and then completePurchase().
It works - the payment is processed and confirmed. However, in order to cross reference payments with our PayPal account I'd like to store the PayPal Transaction ID (the one you see on paypal.com) and I cannot for the life of me understand how.
All I get is the Payment ID which looks something like PAYID-XXXXXXXXX, I would like the 16 digit reference instead. How would I achieve that considering the payment has gone through? Is that even possible with the PayPal REST API?
The text was updated successfully, but these errors were encountered: