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

How can I avoid duplicate transactions for same order. #244

Open
buoyant opened this issue Jan 8, 2019 · 4 comments
Open

How can I avoid duplicate transactions for same order. #244

buoyant opened this issue Jan 8, 2019 · 4 comments

Comments

@buoyant
Copy link

buoyant commented Jan 8, 2019

How can I avoid duplicate transactions for same order.

@Chuffi
Copy link

Chuffi commented Feb 19, 2019

Well, i think i have the same problem!
When i call the payment method seems like it running twice because in the method I'm persisting localy the info of the payment, and every time I have this object saved twice.

@studiocuboweb
Copy link

I think this problem occours if you call the API route via GET method. Try to change the route method to POST and try again.

In my case this worked and the problem with duplicated transactions for same order did not occur anymore

@buoyant
Copy link
Author

buoyant commented Feb 27, 2019

@studiocuboweb let me try but I hope I'm sending POST. Will let you know once tested.

@buoyant
Copy link
Author

buoyant commented Feb 27, 2019

I doing POST but doesn't work for me.

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

3 participants