#rooter
1 messages ยท Page 1 of 1 (latest)
Hello ๐ what steps are you taking that result in a Transfer being created?
stripeChargeCreateOptions = new ChargeCreateOptions
{
Amount = Decimal.ToInt32(registrationFee.Amount * 100),
Description = registration.Event.EventName + " " + registration.Event.EventStartDate.ToString(),
Capture = capture,
Currency = currency,
Customer = customerPaymentProfile.CustomerProfileId,
Source = customerPaymentProfile.CustomerPaymentProfileId,
Metadata = transactionMetaData(registration),
TransferData = new ChargeTransferDataOptions
{
Amount = Decimal.ToInt32(destinationAmount * 100),
Destination = destination
}
};
Gotcha, so you're creating a Charge object directly using a Destination Charge structure.
Can you provide the ID of the Charge that you are looking at where you're not seeing a Transfer associated?
Thank you!
The response you showed earlier, is that the response from the creation request for the Charge?
yes
It looks like you're using our flow that separates the authorization and capture steps of processing a payment, and I'm not readily spotting a request being made to capture the funds from this Charge (please let me know if this is an oversight on my part).
What behavior do you see when you make a request to capture that Charge?
https://stripe.com/docs/api/charges/capture
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
In this instance, we authorize the CC 4 days before the event and capture the amount on the day of the event. This is just the authorization. I have not done the capture yet. If there is a transactionId on the capture, I can set the metadata there, but when we used an older version of stripe.net, I didn't need to do that.
If the funds aren't in Stripe (they aren't if the Charge hasn't been captured), then I don't think we can generate a Transfer object to process moving those funds from one Stripe account to another.
Do you happen to have an example of a Charge that shows the previous behavior you're referring to?
Not, but I can force this one if you give me a minute.
ch_3MvRNtDQzp6p2Ds22RU3xB90
I do see a transfer in the dashboard now.
I'll try moving the code to the second step and see what happens
๐ sounds good, let me know if that still doesn't accomplish what you're trying to do.
That worked. Thanks
Awesome, glad to hear!