#IF( #INPUT.ICPPCP AND (#INPUT.ViewAction EQ "ViewMultiCheckoutAddress" OR #INPUT.ViewAction EQ "ViewAddress" OR #INPUT.ViewAction EQ "MobileSF-ViewAddress") ) #ENDIF #IF((#INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation" OR #INPUT.ViewAction EQ "ViewOffer" OR #INPUT.ViewAction EQ "MobileSF-ViewOffer") AND #LineItemContainer.Payment AND #LineItemContainer.Payment.Class.Alias EQ "LineItemPaymentPayPalPPCP") #LOCAL("ButtonRenderSelector", "div.OrderProcessNavigation.Bottom") #LOCAL("BasketFormSelector", "form#BasketForm") #LOCAL("ErrorMessageSelector", ".IntroText.Confirmation") #LOCAL("PUIMessageSelector", ".IntroText.Confirmation") #IF(#IsMobile) #SET("ButtonRenderSelector", "div.MobileLayout div.OrderProcessNavigation") #SET("BasketFormSelector", "form#BasketOfferForm") #SET("ErrorMessageSelector", "div.Section.Offer > div") #SET("PUIMessageSelector", "form#BasketOfferForm .Section.Offer > *:first-child") #ELSIF(#INPUT.ViewAction EQ "ViewOffer") #SET("ButtonRenderSelector", "div.OrderProcessNavigation > span.DoOrder") #SET("BasketFormSelector", "form#BasketOfferForm") #SET("ErrorMessageSelector", "form#BasketOfferForm") #SET("PUIMessageSelector", "form#BasketOfferForm > *:first-child") #ENDIF #IF(#LineItemContainer.Payment.PayViaPUI) #REM #ENDREM #ENDIF #IF(NOT #LineItemContainer.Payment.PayViaPUI) #LOCAL("MyPaymentLine", #LineItemContainer.Payment) #LOCAL("MyPaymentMethod", #MyPaymentLine.PaymentMethod) #IF(#MyPaymentLine.OrderInfoJSON AND NOT #CaptureFailed AND NOT #ApiCallFailed) #ENDIF #REM #ENDREM #ENDLOCAL #REM #ENDREM #ENDLOCAL #REM #ENDREM #ENDIF #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDIF