#RJ01

1 messages · Page 1 of 1 (latest)

royal haloBOT
compact marten
ripe rover
#

we have to stick at payment element, since we need to use our own checkout page.. is there any work around to charge a customer on top of Subscription Product Price?
we are using other API to compute sales tax base on their address and we are calculating the total amount after the user inputted their address.

#

same with stripe processing fee.. on top of subscription product price

compact marten
#

to be clear on the overall integration, you're calling the Create PaymentIntent API directly and then using the client_secret from that directly with the PaymentElement in the frontend?

ripe rover
#

for one time payment transactions yes..
for monthly / yearly payment we are using create subscription api

#

oh can we use these add invoice items?

compact marten
#

well one thing at a time I suppose.

if you're using Subscriptions then sure, you can add arbitrary invoice items for anything extra like tax you've calculated or fees you've calculated, and they're charged in that first invoice that you're using the PaymentElement to process the PaymentIntent of.
https://stripe.com/docs/billing/invoices/subscription#first-invoice-extra

ripe rover
#

as of the moment we are not yet using stripe tax. but yeah will try this add invoice items. thank you!

compact marten
#

for one time payments there's no simple option if you're using raw PaymentIntents. Our automatic tax product works with Invoices(including those being created through a Subscription), and Checkout, not raw PaymentIntents.
So you could implement the one time payments as one-off Invoices instead, or migrate overall to Checkout(hence my original suggestion at the top of the thread)

ripe rover
#

yea as much as I want to use the stripe tax / checkout , it is not aligned in the company as of the moment. that's why Im looking for other ways, but thank you for this.