Closed Tonkpils closed 1 month ago
Stripe Charges respond to payment_method_details which returns a StripeObject that responds to different methods depending on the type returned https://docs.stripe.com/api/charges/object#charge_object-payment_method_details
Turning this back to draft since Sorbet complains about this at runtime since the object returned by payment_method_details.card is a Stripe::StripeObject and not a Stripe::Card 😬
payment_method_details.card
Stripe::Card
Type of Change
Changes
Stripe Charges respond to payment_method_details which returns a StripeObject that responds to different methods depending on the type returned https://docs.stripe.com/api/charges/object#charge_object-payment_method_details