Problem/Motivation
Currently, if you purchase order and the payment gateway does not support saving the card on your profile, a subscription will not be created, as there is no way for the auto-recurring process to work an available payment method
Steps to reproduce
Purchase a product and select a payment method that does not support a card on the profile, like bank transfer for example.
Proposed resolution
Create a subscription even if no payment method provided, but an end date should be set to the subscription and no recurring order should be created.
Remaining tasks
Patch to support this
User interface changes
None
API changes
none
Data model changes
none
Comments
Comment #2
anas_maw commentedHere is a patch so start from
Comment #4
anas_maw commentedThe test fails because it's checking if there is a subscription when there is no payment method.
Comment #5
recidive commented@Anas_maw doesn't just enabling trial will work for this case?
Comment #6
recidive commentedMarking this a duplicate of #2919602: Allow manual renewal of subscriptions.
Please let me know if this is a different use case.
Comment #7
jeff veit commentedImo "Create a subscription even if no payment method provided, but an end date should be set to the subscription and no recurring order should be created." is wrong.
I can see two reasons:
1. There is nothing wrong with having a subscription but no payment details. If at the point of subscription renewal the order is not paid for, that's when the subscription gets cancelled. It could be paid by cheque, or IOU, or barter, or cash. And the payment method can be different each time renewal comes round. Why should a subscription be intimately tied to a payment method? All that matters is whether the renewal is paid. So you should have a follow-on order, and leave it to that follow-on failing to be paid for triggering cancellation. *
2. You should be able to have post paid subscriptions, where the payment details are taken at the end of a period. Low-value subscriptions can work like this - the seller only loses one period's worth of goods. Digital goods too. There's no reason for the subscription to have an end date. It should cancel when the recurring order is not paid.
Edit: * As a practical matter, a store might only want to sell subscriptions where there is a card attached, but Recurring shouldn't be tied to that arrangement.
Edit: Just to be clear, I think it should be possible to set up a subscription without a recurring payment method. I'm simply saying that the recurring order should be created, and should fail, later, when it's not paid.
Comment #8
shaldrupal commentedI'm also facing similar type of issue & summary posted over there: https://www.drupal.org/project/commerce_recurring/issues/3207157
If someone has any solution then please share ,thanks in advance.
Comment #9
shaldrupal commentedcreated a patch to allow the subscription without payment method
Comment #10
shaldrupal commentedIgnore last patch #9 & follow revised patch which allow subscription even no any payment method defined.