How to Block Payment Methods Pay Pal, Klarna When Address Too Long

Yodit
Shopify Partner
5 0 0

Hello, 

 

is it possible to block payment methods like paypal and klarna during the ckeckout process. Currently I am trying to block the checkout process when the address is too long (max. 80 characters). It is working when paying with credit card, but when trying to pay with Pay Pal the checkout process will continue. 

 

Regards,

Yodit

Replies 3 (3)
SBD_
Shopify Staff
Shopify Staff
1671 235 346

Hey @Yodit 

 

Unfortunately if they select an accelerated checkout method like PayPay before entering their shipping address, there's not much you can do.

Scott | Developer Advocate @ Shopify 

Yodit
Shopify Partner
5 0 0

Hi, 

 

thank you for your fast reply! So when paying via express checkout it is not possible, but what about the option captured in the screenshot. When I have the option to choose paypal as a payment method and i am able to enter my address. Is there a possibility to block the checkout process when clicking on the paypal buy button at the bottom? 

 

checkout_block_paypal.png

PS: The PayPal Button in the Express Checkout is just not shown in the Screenshot, but it's in the live shop. 

 

Regards, 

Yodit 

 

 

 

 

SBD_
Shopify Staff
Shopify Staff
1671 235 346

Hey @Yodit 

 

You could remove payment methods based on address length using a payment customization, or block checkout completely with a checkout validation.

Scott | Developer Advocate @ Shopify