#speakofthedevo

1 messages ยท Page 1 of 1 (latest)

wise reefBOT
echo tartan
#

Hello

#

Are you sending receipts upon successful charge?

hot osprey
#

Right now, I am in test mode, but yes I have the setting set to send email upon successfull payment

echo tartan
#

Gotcha so then it should get set when the Charge succeeds, so you would just listen for charge.succeeded or payment_intent.succeeded and it should be present

hot osprey
#

Okay, so I can guarantee that upon payment_intent.succeeded, receipt_number will not be null?

echo tartan
#

Yes if you are sending receipt emails on successful charge

hot osprey
#

Okay great. Thank you so much!

#

I have another question about the balance object in test mode...

I am in test mode and testing creating paymentIntents. In my paymentIntent, I include the on_behalf_of and transfer_data{ destination:} fields to allow the payment to flow thru to my connected account. My connected account successfully receives the payment and its balance is increased. However, the balance.available[0].amount is always 0, but the balance.pending[0].amount is increased. How/when does the pending balance move to available balance?

echo tartan
#

However in test mode you can bypass this pending balance with certain test cards

hot osprey
#

Perfect, I just tried and it works. Thanks for the help and timely responses ๐Ÿ™‚

echo tartan
#

๐ŸŽ‰