#ELAZHARI-charge-id

1 messages ยท Page 1 of 1 (latest)

quaint bolt
cobalt elbow
#

hi

#

can you support me now

quaint bolt
#

How can we help?

cobalt elbow
#

as you see i want to make a transfer and they told me that i need source_transaction parameter what i can do for it

#

as i see in the source of transaction is the charge id$

#

for a specific payment intent

quaint bolt
#

So you have to pass in the Charge ID to the source_transaction, but right now you're passing in the Payment Intent ID.

cobalt elbow
#

yes right

#

what i can put in the source transaction

quaint bolt
#

You will need to check the charges.data hash for the ID. So the piece of data you're looking for should be in payment_intent[charges][data].id

cobalt elbow
#

there is any code for example

quaint bolt
#

There isn't unfortunately. You'll want to try and log it out from here

cobalt elbow
#

okay

#

hmm

#

i'm using laravel hah and i need any example to understand more what i can do for it

#

if you have time can you do any api connection from your end just simple one to gie just a shot to what i can do

quaint bolt
#

Unfortunately my PHP knowledge isn't very good, so I can't write the code for you

cobalt elbow
#

is there anyone who can help me ?

quaint bolt
#

Are you running into any errors when you attempt to code it? What have you tried?

tribal carbon
#

๐Ÿ‘‹ It should be $intent->charges->data[0]->id