Fix for paypal not returning to checkout bug