#avia

1 messages · Page 1 of 1 (latest)

limpid ibexBOT
tiny notch
hasty prairie
#

@tiny notch thanks!
but now when I pay for a product I see the Subscriptions= 0 active
(in the server I give him price_id)
in the payment list in the dashboard its looks like this payment success

#

price = stripe.Price.retrieve(price_code)
intent = stripe.PaymentIntent.create(
amount=price.get("unit_amount"),
currency=price.get("currency")
)

tiny notch
#

Could you share the subscription ID (sub_xxx)?

hasty prairie
#

I don't have a sub_id.
I have a product and have 2 option

  1. 20 $per month price id -price_1MxSgqGDtsudHHOYEpZMafPv
    2.800$ once price id -price_1MxSgqGDtsudHHOYsHXGo9lR
    how do I know that it's paid per month in the dashboard?
tiny notch
#

If you don't have a subscription ID, where did you see Subscriptions= 0 from? If the subscription is created, you will get the subscription ID

#

Once the subscription is created, you should be able to see the price items in the Subscription object

hasty prairie
limpid ibexBOT
tiny notch
hasty prairie
#

I have a general question - if I have a product with recurring for a month -like 20$ *12
Do I have to set a Subscription? or is it's ok to set it in the api :
price = stripe.Price.retrieve(price_id)
intent = stripe.PaymentIntent.create(
amount=price.get("unit_amount"),
currency=price.get("currency")
)
and it will automatically be collecting money per month?