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

Why does Realex integration add a timestamp to order id? #212

Open
PhilT opened this issue Sep 15, 2016 · 1 comment
Open

Why does Realex integration add a timestamp to order id? #212

PhilT opened this issue Sep 15, 2016 · 1 comment

Comments

@PhilT
Copy link

PhilT commented Sep 15, 2016

This line adds a timestamp to the order id - https://github.com/activemerchant/offsite_payments/blob/master/lib/offsite_payments/integrations/realex_offsite.rb#L121 however, there doesn't seem to be a way to get this back except by deciphering the return signature. Doesn't this mean there is no way to reconcile a payment between the 2 systems or am I missing something? Yes it ensures the order id is unique but shouldn't that be the responsibility of the client app?

@bdewater
Copy link
Contributor

bdewater commented May 17, 2017

A bit of digging turned up #139

As per discussion with Realex
Realex requires the ORDER_ID to be unique for every transaction (including fails)

I agree it might be a bit hard to separate the two for reconciliation purposes - PR welcome!

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

No branches or pull requests

2 participants