#sarim_charge-retrieve

1 messages ¡ Page 1 of 1 (latest)

tight sorrelBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1234989217310838784

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

verbal herald
jovial lodge
#

I am adding the stripe_account id as well

#

$data = \Stripe\Charge::all([ 'customer' => 'cus_PJVNELrySnzAzb' ], ['stripe_account' => 'acct_1HpgQuCg5ZKHuI4E']);

#

and trying to retrieve a charge like this
$data = \Stripe\Charge::retrieve('ch_3OqxklCg5ZKHuI4E0aOpsnrA', [ ], ['stripe_account' => 'acct_1HpgQuCg5ZKHuI4E']);

summer burrowBOT
verbal herald
#

Are you 100% sure that you're running the correct code for your ch_3OqxklCg5ZKHuI4E0aOpsnrA retrieval? I'm seeing your list charges requests come through correctly, but the single charge retrieval doesn't seem to be correct still

jovial lodge
unborn burrow
#

sarim_charge-retrieve

#
], ['stripe_account' => 'acct_1HpgQuCg5ZKHuI4E']);``` is incorrect. It should be ```$data = \Stripe\Charge::retrieve('ch_3OqxklCg5ZKHuI4E0aOpsnrA',
['stripe_account' => 'acct_1HpgQuCg5ZKHuI4E']);```
jovial lodge
#

let me try

unborn burrow
jovial lodge
#

we will thank you

#

it worked