#jhonsalazar1623

1 messages · Page 1 of 1 (latest)

bitter harnessBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

low zephyr
hardy willow
#

Thanks, But I Have a questions

low zephyr
#

Sure, happy to help

hardy willow
#

inmy subscription I show to the customer, inoice upincoming how tax value, service fee value and product price frecuency.... so

#

const options = {
mode: 'subscription',
amount: 1099,
currency: 'usd',
// Fully customizable with appearance API.
appearance: {/.../},
};

#

in this example code

#

Should I put the total value with VAT included or without VAT included in that object?

low zephyr
#

amount should be the total amount that you wish to collect payment for, yes. It would likely map to the amount_due field on the Invoice object when you do upcoming invoice

hardy willow
#

ok thanks!

#

I have other question

#

so if my customer already has a patment method how can I do to attach payment method in the UI stripe element ?

low zephyr
#

You can't today unfortunately. There's no prebuilt UI to surface existing payment methods. YOu'd just skip the Payment Element part and pass the pm_xxx to default_payment_method when you create the Subscription

hardy willow
#

I got it!

#

this documentation has javascript vanilla example

#

is there react example documentacion?

low zephyr
#

There are React tabs for all the code snippets

hardy willow
#

where ?

low zephyr
low zephyr