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

Better integration with PayPal's address validation #88

Open
m4l opened this issue Dec 9, 2014 · 1 comment
Open

Better integration with PayPal's address validation #88

m4l opened this issue Dec 9, 2014 · 1 comment

Comments

@m4l
Copy link

m4l commented Dec 9, 2014

When trying to checkout with a US address leaving the 'state' field empty (not marked as required), I get:

An error occurred communicating with PayPal

After adding the logger:

    'paypal.express': {
        'handlers': ['console', 'file'],
        'propagate': True,
        'level': 'DEBUG',
    },

I can see paypal returning errors like:

The field Shipping Address State is required

or

A match of the Shipping Address City, State, and Postal Code failed.

Could we display those error messages while redirecting to the address input page?

@codeinthehole
Copy link
Contributor

I think so, although it might be tricky to distinguish messages that are suitable for an end-user (like the above one). I'll have a look.

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

2 participants