• Resolved rgorrie

    (@rgorrie)


    Hi,

    We run a network of commerce sites and are looking to enable payouts to some of our clients/users.

    Stripe says we need to add a single value (array) to the object going to them: https://stripe.com/docs/connect/destination-charges

    and so what we’d like to do for the $prepared_source is ultimately:

    $prepared_source[“transfer_data”] = array(
    ‘destination’ => ‘{{ACCT}}’
    );

    in wc_stripe_generate_payment_request filter and then return that data and have it auto passed to Stripe

    but in looking at the code, it looks like it’s further being modified into a stripe charge later on.

    What would be the best way to accomplish this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding data to tranascation’ is closed to new replies.