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

Paypal through braintree not working #7989

Closed
key-dev opened this issue Dec 29, 2016 · 3 comments
Closed

Paypal through braintree not working #7989

key-dev opened this issue Dec 29, 2016 · 3 comments
Assignees
Labels
bug report Component: Checkout Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@key-dev
Copy link

key-dev commented Dec 29, 2016

Hello Guys,
I am stuck to make Braintree work on my site. Its in Magento 2.1.2.

I get below error on image.
untitled-1

Here is the response code from paypal.

/**/callback_jsonf681b2cfef1149fcba7de2aaece2fd72({"paymentResource":{"errorName":"VALIDATION_ERROR","errorMessage":"Invalid request - see details","errorDetails":[{"field":"transactions[0].itemList.shippingAddress","issue":"The combination of country and city is invalid"}],"debugId":"7a1630dfdba88","paypalHttpStatus":400},"status":422})

It seems the issue is with city and country combination but it just won't work.
Any help?

@dyushkin
Copy link
Contributor

Hi @key-dev! Please check your combination of ZIP + State + City, maybe there is a problem. Based on your screenshot, is there any city Orlando in Georgia?

@key-dev
Copy link
Author

key-dev commented Dec 29, 2016

Hi there, i uploaded that image because i had it first time saved as screenshot. But i have tried all actual addresses but no success. Braintree response below.

"I've checked the attempt you've listed below with Debug ID edb3b3ec17ca2. In our server logs I can see the error as CITY_FIELD_REQUIRED_FOR_COUNTRY.
The parameters I can see sent to us are countryCode=US​ and ​postalCode=32819​. Since the city was not included, this attempt received the mentioned error."

In my magento 2 checkout page there is clearly a City field and its mandatory, so i am confused why its not passing the City value.

@dyushkin dyushkin added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Component: Checkout and removed Progress: needs update labels Dec 30, 2016
@dyushkin
Copy link
Contributor

dyushkin commented Dec 30, 2016

Hi @key-dev! It seems this issue valid for 2.1.2 version, and was fixed and merged in develop branch. Fix will be published in Magento 2.1.5 version, under internal issue MAGETWO-58914 commits. For now, you can use this solution to solve your problem.

Thank you for reporting, feel free to reopen this ticket if problem still valid for you.

magento-devops-reposync-svc pushed a commit that referenced this issue Mar 14, 2023
…11182022

Cia 2.4.6 develop bugfixes 11182022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Checkout Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

3 participants