Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug: PayPal Express Checkout (ns="1") #792

Closed
jaswrks opened this issue Nov 24, 2015 · 2 comments
Closed

Bug: PayPal Express Checkout (ns="1") #792

jaswrks opened this issue Nov 24, 2015 · 2 comments
Assignees
Labels

Comments

@jaswrks
Copy link
Contributor

jaswrks commented Nov 24, 2015

Overview

The PayPal Express Checkout button (when you reach PayPal.com) is broken in some scenarios. Customers have reported that upon reaching PayPal.com and clicking the "Continue" button to complete checkout, nothing happens. The page simply reloads and there is no response.

Other Reports...

A customer reported... (see private ticket: https://websharks.zendesk.com/agent/tickets/9666)

My browser console shows...

"errorData":[{"errorCode":"INVALID_SHIPPING_ADDRESS","details":{"fields":[{"field":"postal_code","code":"INVALID_ZIP"}]}}]


Several other customers have reported similar issues recently, and in each case it was attributed to a new bug on the PayPal.com side, which causes the "Continue" button to do nothing in some scenarios.

Two Possible Solutions

Here are the solutions that we are aware of at this time...

  • Call PayPal to complain. Ask them to revert your account back to the older interface. Many customers have said that this resolves the problem; i.e., it removes the newer interface which seems to suffer from a bug which leads to the behavior reported in this issue.

  • @raamdev and @jaswsinc have also confirmed that changing the ns="1" attribute in your s2Member Pro-Form or Button shortcodes to ns="0" will resolve this issue.

    [s2Member-Pro-PayPal-Form ns="0" ... /]`
    

    The default value (if not provided) is ns="1". Forcing ns="0" seems to resolve this.

    0 – prompt for an address, but do not require one
    1 – do not prompt for a shipping address
    2 – prompt for an address, and require one

@jaswrks jaswrks added the bug label Nov 24, 2015
@jaswrks jaswrks self-assigned this Nov 24, 2015
jaswrks pushed a commit that referenced this issue Nov 24, 2015
jaswrks pushed a commit to wpsharks/s2member-pro that referenced this issue Nov 24, 2015
@jaswrks
Copy link
Contributor Author

jaswrks commented Nov 24, 2015

Next Release Changelog:

  • (s2Member/s2Member Pro) PayPal Compat. This release resolves a conflict between s2Member and a nasty bug at PayPal.com that came to light recently. In some cases, customers reported that clicking the "Continue" button at PayPal.com simply reloaded the page and gave no response. We found that this was attributed to a bug on the PayPal side (see 792). To work around this bug, we are using a new default value for the ns="1" shortcode attribute in PayPal Pro-Forms and PayPal Buttons. The new default value is ns="0", which seems to work around this bug for the time being. Props @patdumond @raamdev for reporting and testing this fix. See also full report here.

    • ns="0" (new default) = prompt for a shipping address, but do not require one
    • ns="1" (old default) = do not prompt for a shipping address whatsoever

    See also: Dashboard → s2Member → PayPal Pro-Forms → PayPal Shortcode Attributes (Explained)

@jaswrks jaswrks added this to the Next Release milestone Nov 24, 2015
@jaswrks jaswrks closed this as completed Nov 24, 2015
@jaswrks
Copy link
Contributor Author

jaswrks commented Dec 10, 2015

Work from this issue was released in s2Member & s2Member Pro v151210.
See changelog: http://s2member.com/changelog/

Future comments on this issue will now be blocked. If you have any trouble please open a new issue and report it. A big thanks to all of our great supporters. Happy Holidays :-) ❄️

@wpsharks wpsharks locked and limited conversation to collaborators Dec 10, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant