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

feat: Add new checkout session endpoints + missing params #23

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

cbetta
Copy link
Member

@cbetta cbetta commented Aug 8, 2023

Re TA-4928 updates API for use with new checkout session enhancements.

Also adds a few missing properties in latest OpenAPI updates.

@cbetta cbetta requested review from RonanFabricante and steve-gr4vy and removed request for RonanFabricante August 8, 2023 14:01
@cbetta cbetta enabled auto-merge (squash) August 8, 2023 15:09
@@ -39,7 +39,7 @@ public void getEmbedTokenTestWithCheckoutSessionPassedIn() throws Gr4vyException
embed.put("currency", "USD");

CheckoutSessionsApi checkoutSessionsApi = new CheckoutSessionsApi(client.getClient());
CheckoutSession checkoutSession = checkoutSessionsApi.newCheckoutSession();
CheckoutSession checkoutSession = checkoutSessionsApi.newCheckoutSession(new CheckoutSessionCreateRequest());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Info] This changes makes this technically a breaking change.

@steve-gr4vy what do you think of a major bump to 1.0.0?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is similar for the Go SDK which we haven't bumped previously (you can't have an optional parameter).

@cbetta cbetta disabled auto-merge August 8, 2023 15:31
@cbetta cbetta merged commit f37fc83 into main Aug 9, 2023
1 check passed
@cbetta cbetta deleted the ta-4928/cart-items-metadata branch August 9, 2023 17:20
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

Successfully merging this pull request may close these issues.

2 participants