-
Notifications
You must be signed in to change notification settings - Fork 64
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
Confusing creditcard billing/shipping address #749
Comments
We had a second look at the issue. What we haven't noticed is that this behavior also exists on 1.6.21. We also haven't noticed that the credit card information form is shown below the icons and that no PayPal screen opens anymore. An explanation of such changes would be nice to have in the change log or a reference to some release notes or a "What's new" section. We found the following support request: On 1.6.21 we can produce the same effect, that on pressing around on the credit card icons, the error “something went wrong. we’ll take you back to checkout so you can try again" comes and PayPal opens: On the PayPal page no shipping information is asked. Why is a shipping checkbox available when the form opens below the black credit card icon? |
https://wordpress.org/support/topic/redirect-to-cart-after-closing-paypal-checkout-popup/ Why are only some fields shown, and not like ours: On what does it depend, which fields are shown? |
Just to further describe this behavior: If "Require Billing Address" is set on the merchant's PayPal account, then at checkout when the customer fills in the Billing Address area within WooCommerce checkout, then clicks the "Credit/Debit" button, the resultant windowshade dropdown auto-enters the Woo Checkout area's Billing Address into the Shipping Address area of the PayPal dropdown, leaving the Billing Address of the dropdown blank. |
Hi! I'm apparently facing a related issue, although under somewhat simpler circumstances. I've asked about it on wordpress.org support forum and got redirected here, so I'll share my findings here. (Un)fortunately I had another (unrelated) issue where shipping costs were not added to the PayPal total, and while debugging that I've took a deeper dive into how this payment plugin works. Apparently it uses the NVP API to send the payment details to PayPal. When the payment process is initiated the Long story short, the thing is - as far as I can see - the NVP API does not have a way to provide the Billing Address. The When the Debit/Credit card form is loaded, the details sent by the WordPress server in the background are coming back to the browser. Look for a request starting with {"line1":null,"line2":null,"city":null,"state":null,"country":null,"postalCode":null,"isFullAddress":false,"lastName":null,"firstName":null} So right now I think the situation is this:
Any other differences in our experience with the billing fileds must be down to other reasons, e.g. (only speculating):
So I think as long as the whole payment process is built around an API without explicit support to provide the Billing details it is not really an issue with the implementation of WooCommerce PayPal Checkout Payment Gateway, even though it could in theory use a different API, which would allow the handling of the Billing details, but after all that would be a substantial rework of the plugin, not really just a few fixes here and there. For example there is another one, the REST API for PayPal, which apparently supports sending the billing address. See the Create order method, which allows to pass a Payer object, which in turn contains an Address object, which according to the linked docs:
This is the API referenced in the walkthrough to set up Paypal Checkout in general, while the NVP/SOAP API is marked as deprecated since 2017, even though the deprecation may only refer to the client side (JS) usage... |
Any update regarding this? |
Having the same issue, Any updates on this? |
I'm facing the same issue as @tcivie |
It probably doesn't matter at this point because this plugin appears to be end-of-life, but I think this is similar to an issue my team encountered. The solution was to apply a filter to
Related ticket: #878 |
Describe the bug
Version 2.0.1
We have WooCommerce "Shipping Options / Shipping Destination" set to "Force shipping to the customer billing address". The customer only fills out the billing address. We only ship to this address.
When the customer selects to use PayPal and clicks the "Debit and Credit Card" options, the billing address is empty. Shipped to "Billing Address" is ticked, unticking it, it shows the billing address information from the Cart.
Expected behavior
It would be great when in the "Debit and Credit Card" section no shipping address is visible.
Also, the Carts billing address should/could be copied to the billing address section.
As what I see on many online stores, for credit card information they use only the Cardnumber, Expires, CSC and sometimes a cardholders name. I never saw that a whole address and phone number has to be entered.
On the credit card itself there are only the 4 above mentioned data items, asking more doesn't make sense.
The current implementation is very confusing, also in our reduced setup. When shops allowing a different Cart shipping address, then they end up with 4 addresses (2x Cart, 2x Credit Card section). Which one will be used is unclear.
As the (visuell) behavior changed, it would be nice to have a release note, explaining the changes.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: