- Issue created by @John_B
- πΊπΈUnited States fathershawn New York
It could. I ported this code to a contributed module from an unreleased client project. In that project the recurring payment was a feature of their processor. One route would be to complete integration with commerce_recurring if that supports what you need. Another is to customize the submission logic in the checkout process.
If you let me know what direction you would like to go and which checkout route you would be using I can give more advice.
- π¬π§United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)
Thanks. I am certainly open to having help on the project, if that seems likely to provide best value for client.
First I need to make some decisions based on whether we need Commerce at all for our donations (probably yes), and based on how client's recurring donations are currently saved. Not sure whether it is in the third-party hosted donation form, or as Stripe subscriptions. If as Stripe Subscriptions, that is likely the way to go for us for easier migration. Besides, I have found Commerce Recurring challenging.
- πΊπΈUnited States fathershawn New York
I think the simplest way is to use this module's original default method on the
/donate
route as that establishes a dedicate checkout flow to build and process the donation transaction. We provide a field for monthly here, but you would need to investigate how to use that with the Commerce integration for Stripe:- https://www.centarro.io/drupal-commerce/integrations/stripe
- https://www.drupal.org/project/commerce_stripe β
You might find that you need to extend our dedicated checkout flow plugin to do more work in the submit method. If you let me know what you find I'm happy to continue to advise/help. This issue hints at the configuration for repeating payments: π Make sure recurring payments are working properly Fixed
- πΊπΈUnited States SocialNicheGuru
Might this be similar? β¨ Commerce Stripe doesn't work with the Checkout Flow created by Commerce Donation Flow Needs review