Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe API and SDK update #574

Open
dpslwk opened this issue Aug 14, 2023 · 0 comments
Open

Stripe API and SDK update #574

dpslwk opened this issue Aug 14, 2023 · 0 comments

Comments

@dpslwk
Copy link
Member

dpslwk commented Aug 14, 2023

We are using
API: 2020-08-27
SDK: 7.x

update to
API: 2020-08-27
SDK 10.x

not being use by hms at the mo but

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

api calls can request to use a version Stripe::setApiVersion('2020-08-27');
web hooks are delivered using the account default api-version at time of creation if another is not set during creation

need to update all code to latest api and SDK and then also explicitly fix API version durivng all calls and Webhook creation
once deployed it might best to recreate Webhook endpoints so there at the correct version

need to check how version effects js sdk seprate from php sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant