Hiding payment method based on selected shipping method

Highlighted
Tourist
8 0 1

Hello,

 

I would like to use Shopify script API in order to hide a certain payment method based on the user's selection of the shipping method.

 

I would apperciaite any help.

1 Like
Highlighted
Shopify Partner
37 4 4

From the API doc it doesn't appear possible as there is no indication in the Cart object of the selected shipping method and the Payment scripts only doesn't add any reference to shipping.

0 Likes