#Usama-Subscription
1 messages · Page 1 of 1 (latest)
Thanks and can you tell me a bit more about the parent/child order relationship?
yes lets say a customer places an order to buy some product and we have set stripe subscription on monthly basis.the original order that customer placed will considered as parent order. when the date for next payment arrives a new order(child) order is automatically created but it's transaction is added against the original order and it adds a comment
"Recurring order generated from subscription with ID sub_1L41AfFc35ntcCapdlKU32Bb. Customer originally subscribed with order #000138260"
we tried to programatically change the order state and status back to "processing" but I think stripe changes it complete again after some time.Can you please confirm if stripe has information regarding any order status on their end?
there?
Thanks for the waiting, it seems like you are referring to invoices, do you have the relevant invoice ID?
no I think you are not getting my point.Can you please just tell me if Stripe has some status stored on their end against a particular subscription?
We don't have an order resource related to subscription in Stripe API.
Stripe subscription will generate invoices peroidically. The invoice has statuses of of draft, open, paid, uncollectible, or void (https://stripe.com/docs/api/invoices/object#invoice_object-status), and there's no status called processing.
I wonder if this order thingy is implemented by Magento itself?
This is the Order API provided by Stripe (https://stripe.com/docs/orders) but it is not compatible with Subscriptions yet
ok forget about subscription can we check status of any order on Stripe end?
like we have this order id 000138282 in magento it's status is showing as complete in magento can we check its status in Stripe?
As I mention, there's no order record in Stripe. All I can see are subscriptions and invoices. you can also login to your Stripe Dashboard to take a look.