#LOCAL("PaymentLineItem", #LineItemContainer.Payment) #IF(#DEFINED(#PaymentLineItem) AND #INSTANCEOF(#PaymentLineItem.Object,"LineItemPaymentOgone") AND #DEFINED(#INPUT.ErrorPaymentOgone))

#IF(#INPUT.ErrorPaymentOgone EQ "CreatePayment_Failed") ({Error}: {CreatePayment_Failed})
#ELSIF(#INPUT.ErrorPaymentOgone EQ "BadCallback_NoPaymentGUID") ({Error}: {BadCallback_NoPaymentGUID})
#ELSIF(#INPUT.ErrorPaymentOgone EQ "BadCallback_ShopIDMisMatch") ({Error}: {BadCallback_ShopIDMisMatch})
#ELSIF(#INPUT.ErrorPaymentOgone EQ "PaymentProcess_Canceled") ({Error}: {PaymentCancelled})
#ELSIF(#INPUT.ErrorPaymentOgone EQ "PaymentProcess_Failed") ({Error}: {PaymentDeclined})
#ELSIF(#INPUT.ErrorPaymentOgone EQ "BadCallback_CallbackPWMisMatch") ({Error}: {BadCallback_HashMisMatch})
#ELSIF(#INPUT.ErrorPaymentOgone EQ "BadCallback_AccountMisconf") {BadCallback_AccountMisconf1}

({SystemNotification}: {BadCallback_AccountMisconf2})
#ENDIF

#ENDIF #ENDLOCAL