#baris9271
1 messages ยท Page 1 of 1 (latest)
Which integration type are you using? Checkout Session or Payment Intent with Payment Element?
I use payment intent
the thing is when user sees 100 usd for example, I wanna have a dropdown button which user can change the currency, than after they change it for example to TRY, they will see 2700 TRY
before the payment
Stripe doesn't offer an endpoint for currency conversion. You may look for other third party service provider to help with currency conversion and set the converted amount in the Payment Intent creation request.
Thanks! And one more question. We give %100 off coupons to some users, is there any way that the user can take it without entering a valid credit card?
Since they got %100 of coupon, most of them does not want to enter a card. Is there an easy way for that?
Stripe doesn't support coupon on Payment Intent API. Which integration do you apply coupon on?
I use the one that coupon appliable not sure which one than ๐ฆ
stripe.Subscription.create
is the method
I see! This is Subscription API
yes
Can you share an example Subscription ID (sub_xxx) that you created?
Since Subscription API is used, it's up to your control when the card should be entered if the first invoice is $0
Only when the time is closer to the next invoice, your system should make sure the payment method is collected
i mean to use it when a user first comes
for example you are a new user and u got %100 of coupon
u dont enter the credit card details, u use coupon only.
is it possible for stripe?
I dont think it is though
Applying coupon is within your Subscription API's control: https://dashboard.stripe.com/test/logs/req_lRXYm3CDfJmapI
The latest invoice has been paid immediately due to $0 and no immediate payment method required.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Your system will then collect the payment method and set to this subscription when closer to the next billing cycle
If the coupon is 100% off forever, you don't have to collect payment method
I wanna create stripe subscription without customer id
%100 off subs
since new users wont enter credit card, they will only enter promo code
I wanna create stripe subscription without customer id
With Subscription API, it's not possible to create a Subscription withoutcustomerfield. It's a required field
so they cant create a customer id
okay thanks!
so is it good solution for me to use a new created card just for this purpose
that has 1 dollars limit
when user does not provide card, I will use that customer id for them,
that I have created
how does that solution sound for u
Can you share what you're trying to address? Can you provide an example scenario?
So you wanna start a new subscription, you entered our coupon and saw that u gotta pay 0. There is a billing form on the left of coupon applying form. Normally, u need to provide card information but, our customers wants to be able to create stripe payment without entering this credit card info. Since they got %100 off
So to provide that, I either need to code everything accordingly that does not need stripe subscription, or I can just provide a customer id created for that purpose, so I dont have to change too much code
the code is designed to be dependent of stripe subscription
When you apply coupon with 100% off, subscription can be created without entering the card information
hmm how can i do that
on python django
subscription = stripe.Subscription.create(
customer=customer.id,
items=[
{
"price": price_id,
"quantity": quantity,
},
],
coupon=promo_code,
expand=["latest_invoice.payment_intent"],
)
this is my current subscription creation method
This is correct! The subscription is created immediately with active status in https://dashboard.stripe.com/test/logs/req_lRXYm3CDfJmapI
You don't have to collect any payment method since the first invoice is $0: https://dashboard.stripe.com/test/invoices/in_1NIWEFJ13oII81FIFL6ZdaJJ
DId you log in to the correct account acct_1Jh5ZqJ13oII81FI?
do i have to use test mode to see that?
so I can create stripe customer without card info, is that right
Yup! You can create a customer without card info
do i have to use test mode to see that?
You have to access above dashboard page from acct_1Jh5ZqJ13oII81FI
hmm okay if that is possible
that might solve our problems
thank you for help!
Is there a way to give you 5 stars rating
No problem! Happy to help ๐
Thanks bro! Have a good day
Sharing the feedback here is great for us ๐
have a good day!