Comments (2)
Hi @bruno-ds,
I think that all of theses methods can be used together; however you should consider the fact that adding a webhook to the stripe dashboard may be impossible for some (like myself).
Therefore in my case there is only two available solutions :
- Checking the payments status with a cron or a daemon .
- Redirect the user to a route where the payment status will be checked.
Both of the solutions should actually be used in theses cases.
I'm currently working on theses changes in my fork (I think theses changes may do the work for your third option).
from combodopayumstripe.
Thank you,
There are currently two way to verify that a payment succeeded:
- NotifyUnsafeAction that should be called by a webhook
- HandleLostPaymentsAction that should be integrated into a CLI command and be run within a cron
I was planning to add a third way:
- on the customer landing back to the store, after the payment (in case of a connection error, and in order to not have to wait for the cron)
I think that your solution is elegant, I will soon look into it.
BUT, personally, I consider the webhook as mandatory because (of the murphy's law) there are plenty of cases where the customer could not land the the success page.
(trust me several years ago I had to integrate a payment solution that did not provide webhook, it was a disaster!)
from combodopayumstripe.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from combodopayumstripe.