#Shibby
1 messages · Page 1 of 1 (latest)
You can get the pricing from https://stripe.com/pricing.
If you wish to include the Stripe fee in the payments, you may update the Payment Intent amount after customer selects the payment method and before confirming the payment.
To detect the payment method selected, you may use change event: https://stripe.com/docs/js/element/events/on_change?type=paymentElement
To update the Payment Intent amount, Update Payment Intent API should be used: https://stripe.com/docs/api/payment_intents/update
To update the Payment Element after updating the Payment Intent, fetchUpdates event can be used: https://stripe.com/docs/js/elements_object/fetch_updates
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.