• Resolved javiermates

    (@javiermates)


    Please make it optional for the plugin to try to fill in the shipping address fields itself.

    For those of us who have required custom shipping fields, this is an issue preventing payments from being completed. Otherwise, the plugin is excellent.

    Obviously the customer will be unable to change their address from the PayPal interface. It is not a problem in certain cases.

    • This topic was modified 1 year, 5 months ago by javiermates.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @javiermates

    That option already exists on the Advanced Settings page of the PayPal plugin. You can disable the address population.

    If you’re using express checkout then naturally it will attempt to populate the address fields since that’s the purpose of using express checkout.

    Kind Regards

    Thread Starter javiermates

    (@javiermates)

    Sorry, I don’t know if we’re talking about the same thing.

    Yes, there is an option to disable PayPal shipping address, in the advanced options tab, but the only thing it does is prevent the customer from changing their address from the PayPal popup.

    But no matter what is chosen there, the plugin tries to fill the fields.

    How do I not use express checkout then, or avoid that behavior?

    Plugin Author Payment Plugins

    (@mrclayton)

    How do I not use express checkout then, or avoid that behavior?

    You can disable PayPal express checkout via the PayPal Settings page. The option is called PayPal Payment Sections.

    but the only thing it does is prevent the customer from changing their address from the PayPal popup.

    That also has the same effect of not populating the address since the customer has already entered that info. If you’re observing a different behavior then something is likely conflicting.

    When you have that option enabled, then any address info that’s used by PayPal is the same address that is entered by the customer on the checkout page. There shouldn’t be a different address associated with the order than what was entered by the customer on the checkout page.

    There is also the Use Place Order Button option which would have offer the behavior you want as well.

    Kind Regards

    Thread Starter javiermates

    (@javiermates)

    Indeed the plugin does not do what you say. I explain the steps I follow:

    Once on the checkout page, I fill out the billing fields. There are custom address fields there, but mandatory ones that I need.

    When the customer chooses to pay with PayPal, the popup opens that requests their login and/or confirm the payment. With the option you indicate, the user cannot actually change the address from that screen.

    However, once the customer confirms their payment, the control returns to the checkout, but the “Send to a different address” checkbox is enabled on its own, and the standard shipping address fields in that section are filled out, but not my custom fields (because it obviously don’t know them).

    I just wish it didn’t try to fill in the fields like other plugins do.

    Plugin Author Payment Plugins

    (@mrclayton)

    @javiermates

    Thanks for the explanation. What you’re describing makes sense now considering you have custom address fields which aren’t getting populated when the Send to a different address checkbox is enabled.

    I think the best option is for us to code the plugin so that if address validation is enabled or the PayPal address is turned off, then all of the client side logic related to populating the billing/shipping address should be inactive.

    If you’d like to test that update, please submit a support request here.

    You can also accomplish what you’re after via the Use place order button option.

    Kind Regards,

    Thread Starter javiermates

    (@javiermates)

    That’s the problem, I’m already using “Use place order button”!

    I am not using PayPay Express.

    Thread Starter javiermates

    (@javiermates)

    The problem is that if there are no custom fields like in my case, the wrong behavior of the plugin can go unnoticed by a tester.

    The plugin always fills in the address field, no matter if it is Express or not, or if you enabled changing the address or not.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @javiermates

    That’s the problem, I’m already using “Use place order button”!

    The plugin doesn’t override custom fields though and it doesn’t do anything with the ship_to_different_address variable so that’s odd that in your case that variable is being toggled “on”. When the Use Place Order Button option is selected, the Javascript file which interacts with the ship_to_different_address is not even loaded.

    However, I do see where we can improve this logic so the address data is not interacted with if you’re using the Place Order button or have the address fields within PayPal disabled.

    Per my previous reply, you can submit a support request if you would like to help us test this change as I think it’s a good suggestion.

    Kind Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fill shipping fields optional (please)’ is closed to new replies.