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 country prop/param to checkout #2425

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Conversation

imbrian
Copy link
Contributor

@imbrian imbrian commented Aug 5, 2024

Description

Checkout is expecting country.x query param, in additional to locale to support additional languages. Adds country prop with country.x query param, derived from the locale prop. This matches the implementation in payment-fields component.

Also pass this to card-form component.

Why are we making these changes? Include references to any related Jira tasks or GitHub Issues

LI-48750, LI-43951

Reproduction Steps (if applicable)

Add locale=de_DE query param to SDK script. Click PayPal button.

Screenshots (if applicable)

Dependent Changes (if applicable)

Groups who should review (if applicable)

❤️ Thank you!

@imbrian imbrian changed the title feat: add country prop and param to checkout feat: add country prop/param to checkout Aug 5, 2024
@imbrian imbrian marked this pull request as ready for review August 6, 2024 14:41
@imbrian imbrian requested a review from a team as a code owner August 6, 2024 14:41
@imbrian imbrian merged commit c16b503 into main Aug 6, 2024
3 checks passed
@imbrian imbrian deleted the feature/checkout-country-x branch August 6, 2024 17:52
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.

3 participants