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.
I know that you're writing your own payment integration, but I was wondering if it would be possible to integrate with Drupal Commerce. I've already got that installed on my site, and I'd rather not have two different payment modules on the same site. I also have physical products that I sell using Drupal Commerce, so, I won't really be able to just use the Subs Payment module.
This module is looking really good, by the way!
Thanks!
-Brian Lewis-
Comments
Comment #1
alexweber CreditAttribution: alexweber commentedHi Brian,
Thanks a lot for your input! I do fully intend on integrating with Drupal Commerce, as well as Payment, Pay and any other well-supported and widely-used payment modules.
I absolutely have no intention on re-inventing the wheel so to speak and the purpose of the Subs Payment submodule is merely to ease this integration work.
See here for more details: #1655176: Plans for subs payment?
PS - Would love to see this featured on Modules Unravelled sometime soon! ;)
Comment #2
alexweber CreditAttribution: alexweber commentedAssigning, for the sake of completeness.
Comment #4
rerooting CreditAttribution: rerooting commentedReopening a vital issue! Where do we begin? I see that subs_payment has begun and you have added some UI, business logic and other goodies.
We may be able to take an example from registration_commerce here. I would have to revisit the module, it's been a few months, but they had worked out some pretty good ideas.
A very drupal commerce-ey thing to do would be to provide product entities, line item types, etc.. integrate with customer profiles (party may be a better route for that) and to maybe provide some rules as well.
Another thing to consider - should subs_payment contain drupal commerce integration? Should it be included as a submodule, say subs_payment_commerce? Or should we make it a seperate module, subs_commerce that may even do more than just handle payment? Thinkin' out loud...
Comment #5
bjlewis2 CreditAttribution: bjlewis2 commentedAs far as I'm concerned, this is really an issue with integrating with Rules. #1677212: Rules option to create a subscription would solve my issues as I could create a rule that does the following:
when a "subscription" (product) is purchased => create a subscription (using Subs) for the line item owner.
Thoughts?
Comment #6
alexweber CreditAttribution: alexweber commentedSounds doable :)
I'm going to leave this open for now in case anyone has any other kind of integration need but you're right this should be enough!
Comment #7
bessone CreditAttribution: bessone commented+ 1