on-internet
← Community

Application Fee on Stripe Charge

Stack Overflow ·

I am trying to implement an Application fee on all transactions sent through a Stripe charge. I have created a stripe platform and connected an account to it however whenever I add the application fee to the charge it doesn't come up in stripe dashboard. The following code works and makes a charge to the platform. Stripe::setApiKey("sk_test_#platformcode"); Stripe_Charge::create( array( "amount" => 10000, "currency" => "usd", "source" => $_POST['stripeToken'], )); This code also works. It sends the entire charge to the connected account and charges the platform the stripe fees. Stripe::setApiK

Comments

Sign in or sign up to comment and upvote.

No comments yet.