#Matt Jones (Sitegurus)

1 messages · Page 1 of 1 (latest)

near martenBOT
dull cliff
faint condor
#

So in test mode, they are on already:

Is that the only condition?

dull cliff
faint condor
#

Ah that's interesting thanks.

The checkout session where it isn't appearing does have custom shipping options that are pushed in from a 3rd party API- so have to ask for shipping address before starting the session and therefore don't ask for it within the checkout. We also use "dynamic tax rates"- not sure if that counts as automatic- grey box seems to suggest this happens for all Stripe tax?:

"line_items[{{index}}][price_data][tax_behavior]": "exclusive",
"line_items[{{index}}][dynamic_tax_rates][0]": "txr_1LfiCWFGEVGzIfjtcnlb70RG",

I think I can't actually send Stripe Checkout the Shipping address that's already been provided by the user before the session...? But will check if I can do that.

dull cliff
#

dynamic_tax_rates I think would have the same problem yes(which fundamentally is that you need to know an exact shipping address to calculate automatic tax/determine a tax rate, and if the customer pays with those wallets the information in their wallet is not available to the payment page until after the customer approves the payment, which means you can't show them the tax amount before they already approve)

faint condor
#

Ah I see the problem.

I'm going to try and see if I can pass the shipping address to checkout using "payment_intent_data.shipping.address". Unless you already know that won't work?

dull cliff
#

I don't know off the top of my head. I guess what you're asking is if we're smart enough to take the address from there and allow the wallet option to be used. Not sure, would have to test it.