{{ template "base" . }} {{ define "title" }} Payment Succedded! {{ end }} {{ define "content" }} {{$txn := index .Data "txn"}}
Payment Intent: {{$txn.PaymentIntentID}}
Email: {{ $txn.Email }}
Payment Method: {{ $txn.PaymentMethodID }}
Payment Amount: {{ $txn.PaymentAmount }}
Currency: {{ $txn.PaymentCurrency }}
Last Four: {{ $txn.LastFour }}
Bank Return Code: {{ $txn.BankReturnCode }}
Expiry Date: {{ $txn.ExpiryMonth }}/{{$txn.ExpiryYear}}
{{ end }}