#elite0824
1 messages ยท Page 1 of 1 (latest)
Hi ๐ you can't. You can't use a Payment Method that belongs to Customer A to pay for a Subscription that is associated with Customer B.
You would need to build your own logic for handling this. Likely something along the lines of:
- Charge Customer A directly
- Adjust the objects associated with Customer B's Subscriptoin based on your desired outcome. That could be voiding their most recent Invoice, marking it as paid out of band, for example.
Could you explain more detail? If I do this, then is Customer B's subscription updated?
It depends on what you're trying to do, and how you do it.
I would need more context on the flow you're envisioning to give more details on how you could achieve that.
I want to implement sponsorship context for subscription.
I want to make one user can pay other user's subscription using his payment method.
That's very high level, doesn't really give me much to discuss specifics about. I think at this point I'd suggest starting to play with this in testmode, and see how you can string the different options together to get the desired flow you're after.
Marking the Invoice Customer B's subscription as paid_out_of_band could help you indicate it's been paid without processing a payment for it:
https://stripe.com/docs/invoicing/overview#out-of-band-invoices
But I'm not sure what prebuilt reporting you're relying on, or whether doing so would impact the information shown in those.
In stripe, I detached my payment method using card from customer. Then how can I reuse this card information for payment?
If I recreate payment method using it then can i use it?