From my brief 10 minutes debugging, I believe having turbolinks is what is causing the issue #116.
The test suite isn't much help right now but from my own A/B testing having turbolinks installed makes it fail 9/10 times. When I removed turbolinks then buying the product worked 100% of the time.
Also from the Payola gems documentation:
Disable Turbolinks
Payola does not currently play nice with turbolinks. Disable it by removing the turoblinks include in your application.js.
So we should probably remove it. Here's a pull request doing exactly that. :smile:
From my brief 10 minutes debugging, I believe having turbolinks is what is causing the issue #116.
The test suite isn't much help right now but from my own A/B testing having turbolinks installed makes it fail 9/10 times. When I removed turbolinks then buying the product worked 100% of the time.
Also from the Payola gems documentation:
Disable Turbolinks
Payola does not currently play nice with turbolinks. Disable it by removing the turoblinks include in your
application.js
.So we should probably remove it. Here's a pull request doing exactly that. :smile: