#mcampos86
1 messages · Page 1 of 1 (latest)
Hello! First question: have you read through this doc? https://stripe.com/docs/currencies/conversions
Second question: are you using Checkout, and if so have you read this page? https://stripe.com/docs/payments/checkout/present-local-currencies
Hi, thanks for the answer, I'm looking at the first document, currently we kave delegated the automatic payment to Stripe, we only report usage rates for our users and Stripes try to charge it recurrently Monthly, as far as I know we are not creating the Payout manually, with respect to the second question we are not using the Checkout process.
What are you using if not Checkout?
It is a monthly subscription managed automatically by Stripe
From the first document lecture I see it works by creating the Payout by hand that means that we need to track our client currency preferences and create the Payout on each client right?
I mean, what front-end are you using to collect payments?
Sorry, terms like "client" are ambiguous. Can you rephrase your question?
Can we derive this information from the subscription collection_method?
You should know what a front-end is. This is a chat for web developers to talk to Stripe software developers about technical integrations.
You may want to direct your questions to our support folks instead if you're not creating a software implementation: https://support.stripe.com/contact
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I know what a front end is, but I0m not sure If we are on teh same page, we created teh front-end to collect paymet card information using vuex, and we create the payment_method object in the stripe API, after that a subscription object is created to charge monthly to the users, final stripe subscription object looks something like this: "id": "sub_XXXX",
"object": "subscription",
"application": null,
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing_cycle_anchor": 1696204799,
"billing_thresholds": null,
"cancel_at": null,
"cancel_at_period_end": false,
"canceled_at": null,
"cancellation_details": {
"comment": null,
"feedback": null,
"reason": null
},
"collection_method": "charge_automatically",
"created": 1695139386,
"currency": "usd",
"current_period_end": 1698883199,
"current_period_start": 1696204799,
"customer": "cus_XXXXX",
"days_until_due": null,
"default_payment_method": "pm_XXXX",
"default_source": null,
I see checkout options in stripe has perconfigured front-end implementations but we are not using them at all
okay, so you have a custom form for your front-end/
That's correct is a simple vuex component that shows the card company as you writethe first numbers and so, my concern is about stripes product configuration to accept local currencies on the back end we configure a cron job to update the usage and the payment attempt is done by stripe monthly
Got it. Okay, so if you're using your own custom form, you would need to know the currency ahead of time and you would have to supply it via the currency parameter when creating the Setup Intent
That's right
Back end folks are navigating through technical docuemntation but I'm sure we are not the only ones with this issue so maybe there is a technical document with the correct configuration that we are missing out
We see that we can add prices with local currencies to the product and attach it to the subscription object, but using this strategy won't talke into account current exchange rates
First document looks like a plausibe solution but we will need to generate each account Payout using the cronjob instead of the automatically charged usage
Yep, that seems to be the way to go. Are there any outstanding questions?
Nope, we will need to rebuild the backend and add some extra steps on the fornt to select the currency but at least we have a solution 😋 thanks gor the guidance guys!!
Sure thing!