#CapitanRex-webhook-products

1 messages · Page 1 of 1 (latest)

bold hearth
#

Hello! What does your payment flow look like? Are you using Checkout? Elements? Subscriptions?

pure current
#

Im using .net

else if (stripeEvent.Type == Events.ChargePending)
{
var charge = stripeEvent.Data.Object as Charge;
Guid id = await customerService.GetCustomerId(charge.CustomerId);

//here i need to get the products
}

bold hearth
#

Are you only working with Charges? Not something else like Checkout or Invoices?

pure current
#

not at the moment

#

i need to get the products with the charge

bold hearth
#

You can't get the products tied with a Charge, because with the Charges API you don't actually pass in any products to create it, you're just passing in an amount