mollie / mollie-api-php

Mollie API client for PHP
http://www.mollie.com
BSD 2-Clause "Simplified" License
552 stars 191 forks source link

How to disable Paypal shipping? #42

Closed arendvw closed 7 years ago

arendvw commented 7 years ago

When using paypal the user gets an option at the paypal checkout screen to change the shipping address.

paypal-shipping

Our application handles it's own shipping calculation, so users being able to add shipping information is very confusing. (Especially because it's also hard to get this information back from mollie). Also, we prefer not to ship to australia for the same price we will ship to europe.

On the mollie side of things - is there any way to disable the shipping method, similar to the NOSHIPPING parameter which can be passed to paypal? (Not quite sure which of the API's mollie is using, but paypal does seem to offer ways to disable shipping)

https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECCustomizing/

Thijs-Riezebeek commented 7 years ago

Hi arendvw,

Thank you for opening this issue.

I assume you are adding the shipping information that your customers have entered to the create payment API call. (See https://www.mollie.com/nl/docs/reference/payments/create, 'Payment method specific parameters' and then click PayPal.

I understand from your issue that when you send these parameters, PayPal displays them, but still allows the customer to change them.

Currently we do not support a parameter in our API that will send the NOSHIPPING parameter to PayPal and it is not on our roadmap either. So unfortunately we will not be implementing this anytime soon, if at all.

Kind regards, Thijs Riezebeek

Parcye commented 7 years ago

Hi,

So if I understand correctly, not sending the address, will not show the address in PayPal and thus not show the option to change the address? That could be a work around.

I don't have many orders, but two paypal orders have 'gone wrong' in this way in the past. Never thought this could be the cause.

Regards,

Thijs-Riezebeek commented 7 years ago

Hi Parcye,

I am not sure what PayPal does when you do not provide any shipping information through our API. They might show a form where you need to fill in your shipping information, or they might not show anything, which is what you want. You would have to test that to find out.

Also, are you (@Parcye) and @arendvw the same person/related, or are you just two unrelated people having the same issue?

Kind regards, Thijs Riezebeek

arendvw commented 7 years ago

Hi Parcye, and Thijs,

thank you for your comments.

I understand from your issue that when you send these parameters, PayPal displays them, but still allows the customer to change them.

The whole issue is that not sending the address will still show an "Ship to" option in paypal, and allow users to modify it. Setting the paypal specific shipping information parameters has no influence on if paypal will allow you to edit it.

Paypal will always allow any user to change their shipping information independent on whether the paypal specific parameters were defined or not.

@Thijs-Riezebeek I am not related to parcye, nor am I the same person :)

Parcye commented 7 years ago

@Thijs-Riezebeek I am just a Mollie watcher and love the API ; starting to implement it for more of my clients and need to stay updated on issues and possible solutions.

Thijs-Riezebeek commented 7 years ago

Thank you @arendvw for providing us with some useful insight into how PayPal handles shipping information.

I will discuss this internally, but unfortunately I will have to reiterate that we are unlikely to change this for now.

Thanks again for bringing this to our attention.