Relative Content

Tag Archive for phpstripe-payments

No client_secret for Stripe Elements with Subscription billing_cycle_anchor

I’m working on PHP code that will set up a new Subscription in Stripe. If I don’t add a billing_cycle_anchor or billing_cycle_anchor_config, then Stripe sends back a client secret, which is needed to call stripe.elements({clientSecret}) in JavaScript and show the payment form to the customer.

No client_secret for Stripe Elements with Subscription billing_cycle_anchor

I’m working on PHP code that will set up a new Subscription in Stripe. If I don’t add a billing_cycle_anchor or billing_cycle_anchor_config, then Stripe sends back a client secret, which is needed to call stripe.elements({clientSecret}) in JavaScript and show the payment form to the customer.

Using the Stripe API, how to retreive a payment intent from a connected account?

I’m using stripe to build an application that uses connected accounts. I need to retrieve the paymentIntent that was used for a purchase associated with a given connected account. I’m able to create the paymentIntent using the syntax listed as the first example here: https://docs.stripe.com/connect/authentication, but when I try to use the same syntax to retrieve a payment intent I get the following error:

In Stripe Connect, can I split the Stripe fees between a connected account and their customers?

I have a multi-tenant platform which charges the Tenants on a typical tier subscription basis. My platform is using Stripe Connect and each tenant has a connected account. I would like to build a feature which allows Tenants to pass a portion of the Stripe fees to their customers. The closest thing I can find to this is application_fee_amount but I am not trying to collect that for that platform. Is there any other way to split the typical Stripe fees between connected accounts and their customers?