• Resolved billabong99

    (@billabong99)


    Hi
    Please can you add the stripe fee for each charge to the data you add to the transaction in the postsmeta?
    This would really help me calculate the net i have got from stripe for reports.
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bfl

    (@bfl)

    Hey. Sorry for the delay. Getting the Stripe fee would require a separate request to the Stripe API. It is not included in the PaymentIntent object returned from the payment_intents request that this plugin makes. That introduces some complexity, so I don’t plan on adding that. I’m adding this to my list of possible future features though. Thanks.

    Thread Starter billabong99

    (@billabong99)

    thanks. i’ve done a little hack: you can get the txn_id in the charge return so i added that to the json data for the order metadata, and will then run a separate script to grab the fees using the txn_id (one less step!) and add it to a report.
    cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘put stripe fee in record’ is closed to new replies.