#Sharvari96

1 messages · Page 1 of 1 (latest)

fallow lintelBOT
barren nebula
#

The section you've circled is driven by the contents of line_items

#

What are you trying to accomplish that you're currently not able to?

wide yoke
#

how to specify subtotal?

barren nebula
#

You don't, that's calculated based on the provided contents of line_items.

wide yoke
#

ok.... I think I am missing something ... this is the check out form I have now -

barren nebula
#

There you're only providing one line_item with no tax calculation or discount or anything complex, so there is no need for subtotal and total fields to be displayed.

fallow lintelBOT
wide yoke
#

ok let me check

#

I have added another lineitem:

but how get the total to be visible?

barren nebula
#

It is there right, the part showing US$220.00?

wide yoke
#

what about the line and total due today section as in the highlighted ref image?

barren nebula
#

My understanding is that subtotal and total are shown there because that integration is using Stripe Tax to calculate tax amounts and collect that as well, so additional details need to be shown to clearly articulate that.

wide yoke
#

Ok thank you

#

How to specify -

line_items.tax_rates?

#

should it be Tax rate object - ?

{
  "id": "txr_1NMB2SLbsWAvIKo9suvnUARZ",
  "object": "tax_rate",
  "active": true,
  "country": "DE",
  "created": 1687530760,
  "description": "VAT Germany",
  "display_name": "VAT",
  "effective_percentage": null,
  "inclusive": false,
  "jurisdiction": "DE",
  "livemode": false,
  "metadata": {},
  "percentage": 19.0,
  "state": null,
  "tax_type": "vat"
}

https://stripe.com/docs/api/tax_rates

barren nebula
wide yoke
#

Ok will check that thank you!

barren nebula
#

Any time!

wide yoke
#

So, if we add payment method to the customer and verify that?
can that be reused in a checkout form?

#

or should I customer manually enter the payment details - card number, or bank account number again?

barren nebula
wide yoke
#

ok will go through thanks

fallow lintelBOT