Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
We need to integrate a payment platform (no drupal commerce) for subscriptions.
This contrib module only deals with payment module.
It add some payment data to subs type entities and provide an embeddable payment form.
Note that it is integrate by the contrib module subs form.
As for other both issues (subs form and subs roles), still needs works and reviews.
Thanks a lot for reviewing if you are interested.
Sorry but I know that a more generic bridge should be appreciate (as using it with drupal commerce or other contrib module such as pay) but don't have time deals with it.
Comment | File | Size | Author |
---|---|---|---|
#15 | subs-subs_payment_payment-1691476-13.patch | 48.05 KB | chaby |
#13 | subs-subs_payment_payment-1691476-12.patch | 30.95 KB | chaby |
#12 | subs-subs_payment_payment-1691476-11.patch | 30.86 KB | chaby |
#11 | subs-subs_payment_payment-1691476-10.patch | 30.8 KB | chaby |
#10 | subs-subs_payment_payment-1691476-9.patch | 30.44 KB | chaby |
Comments
Comment #1
chaby CreditAttribution: chaby commentedComment #2
chaby CreditAttribution: chaby commentedSorry forgot to say :
- used last dev release of payment module
with this patch to apply.
Comment #3
chaby CreditAttribution: chaby commentedminor fix
Comment #4
alexweber CreditAttribution: alexweber commentedAwesome, thanks!
I'm going to review this and I'll post back here!
Comment #5
chaby CreditAttribution: chaby commentedok thanks.
here an updated patch which include :
- updated README.txt
- store some data into payment object (subs type used and subs created/associated to the payment)
- add a mapping between payment ID and sub id associated
- little views support (relations between payment and subs)
I set this issue in"needs work" state as i was asking if we could :
- delete mapping between payment and subs created if one of this entity has been deleted (useless to keep track on an non-existent entity ? But if we have still one of two entities, better to keep it despite ?)
- improve views integration (not sure, as payment and subs have its own views type). For the moment, we could only retrieve IDs...and use it to display links to entities for example
Comment #6
chaby CreditAttribution: chaby commentedsorry ! missing to provide a merged patch !
Comment #7
chaby CreditAttribution: chaby commentedHi, sorry new patch again...(mostly fix and review)
Thinking it should be better and more easy to maintains by opening a sandbox for versionning and asking for review when it will be more stable !
Comment #8
alexweber CreditAttribution: alexweber commentedThanks!
I haven't had any time this week but I'm planning to spend a few hours this weekend reviewing all your contributions to Subs.
I'll be in touch!
Thanks again! :)
Comment #9
chaby CreditAttribution: chaby commentedok thank you !
An another patch which fix some issues and add some improvements
Comment #10
chaby CreditAttribution: chaby commentedJust some minor fix
Comment #11
chaby CreditAttribution: chaby commentedHi,
An another patch which add some improvements :
- keep track on payment error (don't use db rollback, except entity error)
- add possibility to rebuild the payment form when remote payment error occured
- remove redirect from finish callback which will bypass post-process (by killing php execution to send http headers)
Comment #12
chaby CreditAttribution: chaby commentedAn another simple patch to fix views handler field defined to use float handler for amount and tax rate fields.
Comment #13
chaby CreditAttribution: chaby commentedA new patch which used a new payment patch (still in needs works) integration.
Comment #14
alexweber CreditAttribution: alexweber commentedAwesome, thanks Chaby! (ps - did u get my email?)
Comment #15
chaby CreditAttribution: chaby commentedHi,
Yes, and hope having news soon :-) !
Here an another patch which deals with offsite payment method.
But it would have to be review (to have a generic ways to deals with it through payment ?).
It also add some improvements, including cron task such as deleting/cancelling pending payment which haven't been cancel or complete with offsite payment (and not already updated by contextual module), provide hooks intented to other context module and so on...
Comment #16
chaby CreditAttribution: chaby commentedAs see with alexweber, live into its own project now.
Currently available in sandbox.