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

Fixed problem with "Prefill customer address" setting and related data. #17

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

StanislavSmetaninSSM
Copy link
Contributor

@StanislavSmetaninSSM StanislavSmetaninSSM commented Oct 7, 2024

This setting cause a "Bad request" error during checkout.
image

The problem was in the Contact.FirstName, Contact.LastName properties.
Looks like that if Contact is serialized, then both of them should be filled.
If Contact is not serialized (since it is an optional field), then request goes smoothly.

The link to documentation: https://developer.nexigroup.com/nexi-checkout/en-EU/api/payment-v1/#v1-payments-post-body-checkout-consumer-company

The bug: https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_workitems/edit/21464

@StanislavSmetaninSSM StanislavSmetaninSSM requested review from frederik5480 and removed request for mbengtson, MrBuhl and dw-sha October 9, 2024 09:39
@frederik5480 frederik5480 requested a review from MrBuhl October 9, 2024 13:29
@StanislavSmetaninSSM StanislavSmetaninSSM merged commit b806e6b into main Oct 9, 2024
1 check passed
@dw-sha dw-sha deleted the ssm/21464-fix_prefill_customer_address branch October 29, 2024 12:15
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