killbill-stripe-plugin icon indicating copy to clipboard operation
killbill-stripe-plugin copied to clipboard

not able to transfer fund to stripe managed account created by killbill stripe plug in

Open goelscubic opened this issue 6 years ago • 0 comments

Hi,

I am following https://github.com/killbill/killbill-stripe-plugin

I am able to create a manage account in stripe using POST /plugins/killbill-stripe/accounts:.

However, when I am trying to charge using destination property, all money is going into default account and not into the managed account of stripe . Steps taken -

  1. Created account in killbill using Kaui

  2. Created manage account in stripe curl -v -X POST
    -d '{ "legal_entity": { "address": { "city": "San Francisco", "country": "US" }, "dob": { "day": 31, "month": 12, "year": 1969 }, "first_name": "Jane", "last_name": "Doe"", "type": "individual" }'
    http://127.0.0.1:8080/plugins/killbill-stripe/accounts?kb_account_id=<KB_ACCOUNT_ID>&kb_tenant_id=<KB_TENANT_ID>

  3. made a purchase request - /1.0/kb/accounts/payments?externalKey=1 { "paymentExternalKey": "{{$guid}}", "transactionType": "PURCHASE", "amount": 100, "currency": "GBP", "properties": [ { "key": "destination", "value": "a88cd135-d950-4c8c-903f-2e59bb88be76" }, { "key": "fees_percent", "value" : "10"

    } ] } But all money is goin into default account .

Please suggest , what could be wrong .

Regards, Shikha

goelscubic avatar Jun 19 '19 08:06 goelscubic