Home Forums Stripe Commissions & Gateway Support Stripe Commission

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

  • This topic has 3 replies, 2 voices, and was last updated 8 years ago by Fred.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26526
    Fred
    Participant

    For some reason, I am not getting my commission on Stripe. Does anyone else have this problem? I feel like I set up everything correctly, and it worked fine in test mode, but going live is not working. I only get the app fee.

    #26529
    WC Vendors Support
    Participant

    Is the product a variable product by chance?

    #26550
    Fred
    Participant

    No, it is a virtual download. (unless that’s a variable product) It’s a Vendor’s product, so they aren’t able to do variables until the next WC Vendors Pro update.

    #26601
    Fred
    Participant

    This is the message I got from Stripe:

    It looks like you specifically passed application_fee: 20 when you made the charges.

    We don’t out of the box support a percentage application fee–it’s something that your code will have to calculate for you. I’ll include an example here of what that might look like in PHP

    // We want to take 8% as an application fee
    $application_fee_percent = 8;

    // Assume we’ll charge $200 and amount should be in cents
    $amount_in_cents = 20000;

    // Now we calculate the application fee in cents
    $application_fee_in_cents = round($amount_in_cents * $application_fee_percent / 100);

    // Now we charge the customer
    $charge = \Stripe\Charge::create(array(
    ‘amount’ => $amount_in_cents,
    ‘currency’ => ‘usd’,
    ‘customer’ => “cus_XXX”,
    ‘application_fee’ => $application_fee_in_cents,
    ));

    I don’t understand any of this.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Stripe Commissions & Gateway Support’ is closed to new topics and replies.