[Feature]: PayPal Express checkout doesn't support store pickup shipping method
Feature summary
No response
Problem statement
It doesn't seem like Adyen supports the PICKUP option for PayPal currently. Through my testing and looking at the documentation here:
https://docs.adyen.com/payment-methods/paypal/web-component/express-checkout/?tab=express-flow-advanced_2#update-paypal-orders-advanced
The delivery method type only takes the value "Shipping":
https://github.com/Adyen/adyen-node-api-library/blob/378d714355366bd2be0c47e61b6ded9b55d6ee4e/src/typings/checkout/deliveryMethod.ts#L76-L80
This functionality is supported by PayPal and only requires passing in different values for the shipping type so I'm not sure why it isn't supported by Adyen:
https://developer.paypal.com/docs/api/payment-tokens/v3/#definition-shipping_option
The difference between this and a "shipping" type is that "Pickup option" will be displayed in the PayPal modal and the "ship to" text and delivery address will be hidden, e.g.:
Proposed solution
Support passing in other options to the delivery methods as described in PayPal's documentation:
https://developer.paypal.com/docs/api/payment-tokens/v3/#definition-shipping_option
Alternatives considered
No response
Additional context
No response
Hey @dev-jelo, thank you for reporting this. I can the Checkout OpenAPI spec is missing the option. I will reach out to the relevant team so they can correct the API contract and we can update the library. Thank you!
Hi @gcatanese,
Thanks for the update. Just wondering if you have an idea of how long it would take for this change to be published? We are working on a somewhat tight deadline and would really like to have this feature available ASAP.
Thanks!