#bhanu365 - Subscriptions

1 messages · Page 1 of 1 (latest)

untold steppe
#

Hi 👋

#

Subscriptions are not one time by definition. What are you actually trying to do?

#

Do you mean one time Invoices ?

runic bison
#

I have created a product and the type is one time

#

I don't know the flow of this type of subscription

untold steppe
#

YOu cannot use that product for subscriptions

#

Because you set it to One Time

#

Which is not how subscriptions work

runic bison
#

Yes got it

#

Can I know the purpose of it

#

?

untold steppe
runic bison
#

Should I need to use single charge method instead of this?

untold steppe
#

What are you actually trying to do? Do you want to make single charges or subscriptions with repeating charges?

runic bison
#

only single charge

#

The recurring payment subscription I already integrated

#

I just want to that user can pay for this subscription only for 1 time

untold steppe
#

You don't do that

#

Subscriptions are repeating charges by definition

#

if you just want to make a single charge

#

there is a much more simple approach

runic bison
#

Ok got it

#

I should need to use PaymentIntent method for it

#

just for receiving the payment

#

Correct?

untold steppe
#

Yup, that is exactly what the Payment Intent is designed for.

runic bison
#

Got it

#

thanks

untold steppe
#

However, if you want to use the Product record you created earlier, you might want to use Checkout

#

Because Checkout let's you use line_items where you can specify the Products

runic bison
#

Ok

untold steppe
#

But if you just want to charge an amount then Payment Intent is the most straight forward.

runic bison
#

Ok

#

Does customer balance work in single charge also?

#

or just for subscription?

untold steppe
runic bison
#

I just want to deduct some amount from the single charge amount because we are giving to them a voucher code(not from stripe). We have our vouchers so customer can apply the voucher when they are paying. I want to store the voucher code or an amount that customer got from the voucher in the stripe so we can track easily for in future

untold steppe
runic bison
#

Will it work for single charge too?

untold steppe
#

As I said earlier, you can specify customer_balance as a payment method type when creating a Payment Intent. I would advise you to create a Customer, add to the Customer Credit Balance, and then attempt a Payment Intent for that Customer in Test mode to be sure it behaves as you expect.

runic bison
#

Ok but If I set customer_balance so the all amount will deduct from customer balance and from the card too? or only from the customer balance?

untold steppe
#

What do you want to do?

#

An individual Payment Intent will make a single successful Charge on a single Payment Method for the amount specified.

runic bison
untold steppe
#

Only if that is the Payment Method you specify