#Koba Z Gablaia-apple-pay

1 messages · Page 1 of 1 (latest)

chrome sedge
#

Hello! Give me a minute and I'd be happy to help!

chrome sedge
#

For your first question - yes, that's one way to change the height of the PaymentReqeustButton. I believe the other way to change the size is to modify the size of the container the element is mounted to

#

For your tax question can you clarify what behavior you're expecting? Stripe doesn't automatically calculate tax for Apple Pay - you would have to do that yourself and add it to the total

wild carbon
chrome sedge
wild carbon
wild carbon
muted drum
#

The flow is that you present the sheet, and then you get a callback from us when the address changes (what karbi explained above) and then you calculate tax and you update the sheet with your new calculation/tax if needed

wild carbon
muted drum
#

I don't understand what those words mean. What's an express payment? What registration?

wild carbon
# muted drum I don't understand what those words mean. What's an express payment? What regist...

See an example of our button https://a-t-shirt.com/product/basic-v-nick-t-shirt-im-hung (To display it, you must select T-Shirt color, Print color, Size )

The client can make a purchase without registration and will already indicate the delivery address and type of delivery with the total cost. Now we need to add tax for NY, can we implement it the same way?

If the client is registered, we will already be able to add tax without problems to the total cost. But the question is when the user is not registered, as I indicated to you in the example.

muted drum
#

and will already indicate the delivery address and type of delivery with the total cost
what does that sentence mean? I'm sorry I really don't follow what you are discussing
If you use the PaymentRequestButton to collect shipping details then you won't know until after the modal/sheet appears

wild carbon
muted drum
#

yes

#

you can ask in advance if you want to pre-calculate tax, but if you want you can let Apple or Google tell you during the collecting of payment details in that sheet. Both options are possible

wild carbon
muted drum
#

our site is obtained by the api method at the time of payment
I'm sorry but that sentence doesn't really make sense to me as is. So I don't really understand what you are asking
At this point I would really encourage you to talk to your developer first and have them come directly to this Discord server if they need help.

wild carbon
muted drum
#

We have explained this before though so I'm not sure what you are asking/misunderstanding

#

trying to find you a more explicit doc but not sure we have one

wild carbon
muted drum
#

I don't have one right now no, I'm trying to see if there's one

#
    label: 'TAX',
    amount: 99,
    pending: false,
  },
  {
    label: 'subtotal',
    amount: 1000,
    pending: false,
  }],```
if you do this you should see the tax row filled out with $0.99 for example
#

basically you control which line items/section appear but there isn't a clear breakdown beyond that