#qualleadmin

1 messages · Page 1 of 1 (latest)

cyan cypressBOT
hidden gazelle
#

Are you asking how to create a product through API?

oak lynx
#

oh no, create a payment for a product

#

but this isn't an online "store" per se, its just micro transactions in our app that need a Product related to it

#

i.e. there is no checkout process, just click a button and the payment is created

hidden gazelle
#

The PaymentIntent API doesn't accept product ID.

oak lynx
#

right, so we need a new way

#

is there a higher level api that interacts with Product to create payments?

hidden gazelle
#

No, you need to specify the amount when creating a PaymentIntent

oak lynx
#

yes

#

and also need invoice capability, unless we need to generate an invoice manually

hidden gazelle
#

Let's do it one by one

oak lynx
#

the tax rules for every region in USA have complex rules, seems that product api handle this

hidden gazelle
#

No, that's handled by the tax calculations API

#

So which step are you in now?

oak lynx
#

we are using calculate tax api

#

this can be used in conjunction with paymentIntent?

#

seems obvious

#

so perhaps this is working as intended

#

how about invoice for paymentIntents, this would be really helpful

hidden gazelle
#

I'd suggest you to follow the guide and complete your integration so that you know how to use the result from tax calculation API to create a PaymentIntent

oak lynx
#

thanks. we have already implemented this end-to-end

#

I think you gave enough information we can use paymentIntent and still do tax + invoice

hidden gazelle