Skip to content
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

Redirect - how to get the transId? #27

Open
valicu opened this issue Mar 31, 2017 · 2 comments
Open

Redirect - how to get the transId? #27

valicu opened this issue Mar 31, 2017 · 2 comments

Comments

@valicu
Copy link

valicu commented Mar 31, 2017

We have issues running the iFrame option so in the meantime we were looking at the Redirect option. It seems to be working, but when returning to the returnURL we do not get any receipt / transactionID back. Our goal is to eventually get the authorization code and store in our database so we can offer our customers the option to CAPTURE the funds.
How do we get the transId or authorization code after the redirect?
The only way to do something like this is to use the getUnsettledTransactionListRequest and scan trough all transactions looking for an invoice number (this is our unique ID) - and then we pull the info. It MUST be a better way of doing this. Something like: getUnsettledTransactionbyInvoiceNumber , right?

Thanks.

@gnongsie
Copy link
Contributor

gnongsie commented Nov 9, 2018

Hi @valicu ,

Thanks for reaching out to us and apologies for the late response.

The team has started looking into how we can best satisfy your requirements and will reply shortly with an analysis.

At the same time, I'd like to thank you for your suggestion. I will escalate this further to the relevant teams to see if this suggestion is feasible in the foreseeable future.

@kikmak42
Copy link

Hi @valicu

We recommend to use the iframe communicator method for better integration and you will be able to get all the details about the transaction by that. But as stated in Redirect mode no data is being send back to the return url.

Now still if you want to get details about the transaction instead of going through all the unsettled transactions, you can use web-hooks notification to get a notification for each transaction (the endpoint and setting configuration for Web-Hooks are available in Merchant Interface -> Account Settings).
This will send you a notification each time you do a transaction and can use that to get details about the transaction id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants