Bubble Stripe Plugin Application Fee Error

I’m using Bubble’s own Stripe plugin and am getting an error when trying to charge a customer and take an application fee as well.

“error”: {
“code”: “parameter_missing”,
“doc_url”: “https://stripe.com/docs/error-codes/parameter-missing”,
“message”: “Can only apply an application_fee_amount when the PaymentIntent is attempting a direct payment (using an OAuth key or Stripe-Account header) or destination payment (using transfer_data[destination]).”,
“param”: “application_fee_amount”,
“type”: “invalid_request_error”

I thought that the Bubble plugin uses direct payment? Anyone know a solution for this? Thanks

Did you ever find a solution to this? :blush:

Yah, I had to create my own API call with the API Connector. I’m not sure if it’s an error in the plugin or if I was just using it wrong, I was also trying to complete an ACH payment so maybe they’re not equipped for that, but I couldn’t figure it out using the Bubble Stripe plugin. If you figure it out with the plugin let me know!

@deliriousmiles I would love to see this API call. I’m trying to add an application fee to a subscription product using the bubble plugin and it doesn’t support it. Any advice?

Yeah - what was the API call?

you have to make the call for the connect account, Stripe-account header