#speakofthedevo
1 messages ยท Page 1 of 1 (latest)
Right now, I am in test mode, but yes I have the setting set to send email upon successfull payment
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
Okay, so I can guarantee that upon payment_intent.succeeded, receipt_number will not be null?
Yes if you are sending receipt emails on successful charge
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?
That depends on your payout speed for the country of the connected account: https://stripe.com/docs/payouts#standard-payout-timing
However in test mode you can bypass this pending balance with certain test cards
Perfect, I just tried and it works. Thanks for the help and timely responses ๐
๐