beam-community / stripity-stripe

An Elixir Library for Stripe
Other
965 stars 346 forks source link

Add latest_charge field to PaymentIntent struct #768

Closed ipuchkov closed 1 year ago

ipuchkov commented 1 year ago

With latest Stripe API update (2022-11-15) charges property on PaymentIntent has been removed and replaced with latest_charge property.

https://stripe.com/docs/upgrades#2022-11-15

The charges property on PaymentIntent has been removed. You can use the latest_charge property instead.

ipuchkov commented 1 year ago

Closing PR as it doesn't make sense with latest changes in master.