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

Gateway creates new order each time, even if the same cart is submitted. #7

Closed
ps-PKrueger opened this issue May 31, 2018 · 3 comments

Comments

@ps-PKrueger
Copy link

I am not sure if this is related to the pending payment issue, or not.
The gateway is creating a new order each time, even if the same order is submitted, and then cancelled.

For example: I put an item in the cart, and select pay for order. The Fastspring window shows up, and I close the window without paying. This creates a pending order.

I click on the pay for order button again, the Fastspring window shows up again, and another separate pending order is created.

I don't believe that this was the behavior of the last version, but I haven't tested that yet.

@cyberwombat
Copy link
Owner

I am not able to recreate this. If you set SCRIPT_DEBUG to true (see wiki if questions) then it will use the non minified fastspring-checkout.js which will dump the unencrypted payload to console (also info on wiki) - I get a line store_order_id which seems to stay consistent as I close/open window.
screen shot 2018-06-03 at 8 57 17 am

@ps-PKrueger
Copy link
Author

I will pull your latest code and apply it. Maybe this was an artifact of Version 1.1.1. I will be testing more today, and will update as soon as I get results.

@ps-PKrueger
Copy link
Author

This was an artifact of 1.1.1. This is operating as it should now.

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