#INCLUDE("INC-OrderTime") |
#INCLUDE("INC-LinkToOrder") |
#TransID#IF(#IsSecure) {Verified}#ENDIF |
#LOCAL("RemainingAmount", #Amount)
#IF(#DEFINED(#Field2))#SET("RemainingAmount", #RemainingAmount - #Field2)#ENDIF
#IF(#DEFINED(#Field3))#SET("RemainingAmount", #RemainingAmount - #Field3)#ENDIF
#REM avoid displaying of -0,00; because of EPG-20290 we can not check if the amount is larger than -0.01 #ENDREM
#IF(#RemainingAmount < 0)#SET("RemainingAmount",0)#ENDIF
#Amount[money]
#IF("refunded" IN #TransStatus[LC])
{Paid}: #RemainingAmount[money]
#ENDIF
|
#IF(#TransStatus[LC] EQ "completed")
{Paid}
#ELSIF(#TransStatus[LC] EQ "pending"){Pending}
#IF(#PendingReason)
#REM #ENDREM
#IF(#PendingReason[LC] EQ "address")
{Address}
{AddressInfo}
#ELSIF(#PendingReason[LC] EQ "echeck")
{Echeck}
{EcheckInfo}
#ELSIF(#PendingReason[LC] EQ "intl")
{Intl}
{IntlInfo}
#ELSIF(#PendingReason[LC] EQ "multi_currency")
{MultiCurrency}
{MultiCurrencyInfo}
#ELSIF(#PendingReason[LC] EQ "verify")
{Verify}
{VerifyInfo}
#ELSIF(#PendingReason[LC] EQ "authorization")
{NoteFromPayPal}:
You set the payment action to Authorization and have not yet captured funds.
#ELSIF(#PendingReason[LC] EQ "order")
{NoteFromPayPal}:
You set the payment action to Order and have not yet captured funds.
#ELSIF(#PendingReason[LC] EQ "paymentreview")
{NoteFromPayPal}:
The payment is pending while it is reviewed by PayPal for risk.
#ELSIF(#PendingReason[LC] EQ "unilateral")
{NoteFromPayPal}:
The payment is pending because it was made to an email address that is not yet registered or confirmed.
#ELSIF(#PendingReason[LC] EQ "upgrade")
{NoteFromPayPal}:
The payment is pending because it was made via credit card and you must upgrade your account to Business or Premier status before you can receive the funds. It can also mean that you have reached the monthly limit for transactions on your account.
#ELSE
{Other}
{OtherInfo}
#ENDIF
#ENDIF
#ELSIF(#TransStatus[LC] EQ "denied")
{Denied}
#ELSIF(#TransStatus[LC] EQ "refunded")
{Refunded}
#ELSIF(#TransStatus[LC] EQ "failed")
{Failed}
#IF(#PaypalErrorCode)
{NoteFromPayPal}:
{PayPalErrorCodeExplanation} #PaypalErrorCode
#ENDIF
#ELSIF(#TransStatus[LC] EQ "cancelled")
{PaymentCancelled}
#ELSIF(#TransStatus[LC] EQ "partiallyrefunded")
{PartiallyRefunded}
#ENDIF
#IF("refunded" IN #TransStatus[LC])
{TransID}: #TransID2
{Date}: #TransTimeMod[date]
{RefundNet}: #Field2[money]
{RefundFee}: #Field3[money]
{RefundGross}: #LOCAL("GrossRefundAmount", #Field2 + #Field3)#GrossRefundAmount[money]#ENDLOCAL
#ENDIF
|
#PayerID |
#IF(#TransStatus[LC] NE "refunded")
#ENDIF
|
#ENDLOCAL
#ENDLOOP
#IF(#COUNT(#Pager.Items) == 0)