#KrPaymentMethodObject.PaymentMethod.Kr_CancelMessage[0]
#ENDIF #IF(#PaymentErrorMsg)#REM Show only error messages which are result from data provided by customer #ENDREM #IF( (#PaymentErrorMsg EQ "bad_addr") OR (#PaymentErrorMsg EQ "foreign_addr") OR (#PaymentErrorMsg EQ "address") ) {bad_addr_Error} #ELSIF(#PaymentErrorMsg EQ "customer_credit_overrun") {customer_credit_overrun_Error} #ELSIF( (#PaymentErrorMsg EQ "customer_not_18") OR (#PaymentErrorMsg EQ "under_aged") ) {under_aged_Error} #ELSIF( (#PaymentErrorMsg EQ "bad_postno") OR (#PaymentErrorMsg EQ "postno") ) {postno_Error} #ELSIF(#PaymentErrorMsg EQ "email") {NoEmailFormat} #ELSIF(#PaymentErrorMsg EQ "cellno") {cellno} #ELSIF( (#PaymentErrorMsg EQ "customer_not_accepted") OR (#PaymentErrorMsg EQ "blocked") ) {customer_not_accepted_Error} #ELSIF(#PaymentErrorMsg EQ "currency_country_pnoencoding") {currency_country_pnoencoding} #ELSE {PaymentDeclined} #ENDIF
#ENDIF{OrderCreatedWithOrderID}
#ELSE{SelectAnotherPaymentMethod}
#ENDIF #ENDREM