Ryan Woods
Ryan Woods
Me and @kennyadsl have discussed this a little bit in Solidus PRs [4102][PR#4102] and [4081][PR#4081]. So I thought it would be a good idea to consolidate the information and let...
The `commit` and `shipping_preference` parameters rely on checking the `Order` `checkout_steps`. https://github.com/solidusio-contrib/solidus_paypal_commerce_platform/blob/19c00c68220fa9b7490dcc6497030809cbbfda03/app/models/solidus_paypal_commerce_platform/payment_method.rb#L67 https://github.com/solidusio-contrib/solidus_paypal_commerce_platform/blob/19c00c68220fa9b7490dcc6497030809cbbfda03/app/models/solidus_paypal_commerce_platform/payment_method.rb#L77 The `checkout_steps` get set here, attempting to use the `order`'s `checkout_steps`, otherwise the `Spree::Order` model. However, `order.checkout_steps`...
When any of the 3 pages (cart, product and payment) pages go to create the PayPal SDK URL, it will attempt to add the `shipping_preference ` param if the delivery...