For me when hooking anything on the onShippingChange handler in the JS SDK, it opens the modal, if no event handler hooked, then I get the inline guest checkout. Problem is, the inline checkout does not succeed (fails with Internal Error 500 on PayPal side!), plus there is no price overview like in the modal (literally the price is not displayed at all in the inline guest flow, wtf :D). The thing is, there is zero info on what decides which flow, modal or inline is triggered. It feels like A/B testing or lottery a bit : ( Btw in my case - in contrast to most people out there - I would actually prefer the inline version, as it fits nicely with my design, but I also need to listen to shipping changes.
... View more