{% extends 'psu_base.html' %} {% load base_taglib %} {%block title%}Cashnet Transaction #{{tx.id}}{%endblock%}} {% block scripts %} {% endblock %} {% block breadcrumbs %} Transaction ListTransaction #{{tx.id}} {% endblock %} {% block pagecontent %}

Cashnet Transaction #{{tx.id}}

{%if tx.reference_class%} {%endif%} {%if tx.post_processing_status%} {%endif%} {%if tx.internal_error_message%} {%endif%} {%if can_update and can_proxy%} {%endif%} {%if tx.result_parameters%} {%endif%}
Customer: {%id_tag tx.customer%}
Object: {{tx.reference_class}} #{{tx.reference_id|default:'?'}}
Items: {%for ii in tx.items%} {%endfor%}
{{forloop.counter}}. {{ii.catalog_item.description}} {%if ii.qty > 1%}
{{ii.qty}} @ {%format_currency ii.purchase_amount%}
{%endif%}
{%format_currency ii.purchase_qty_amount%}
Total {%format_currency tx.total_amount%}
Transaction Status {%if tx.status_code == 'N'%} {{tx.status_desc}} This transaction was never sent to Cashnet, most likely due to an error. {%elif tx.status_code == 'I'%} {{tx.status_desc}} This transaction never returned from Cashnet. Payment may or may not have been completed. {%elif tx.status_code == 'F'%} {{tx.status_desc}} {{tx.cashnet_result_message|default:'No "result" message from Cashnet'}} {%if tx.cashnet_error_message%}
{{tx.cashnet_error_message}}
{%endif%} {%elif tx.status_code == 'S'%} {{tx.status_desc}} {{tx.cashnet_result_message|default:'No "result" message from Cashnet'}} {%else%} {{tx.status_desc}} {%endif%}
Post-Processing Status: {{tx.post_processing_status}}
WMT Error:{{tx.internal_error_message}}
Update Status: {%if is_proxied%} This will kick-off any post payment processing that is required.
Mark as Paid Mark as Unpaid {%else%} You must proxy {{tx.customer_username}} in order to update this transaction (so that post-payment processing steps will work). {%endif%}
Created:{{tx.date_created}}
Sent to Cashnet:{{tx.initiation_date|default:'Never'}}
Returned from Cashnet:{{tx.response_date|default:'Never'}}
Last Update:{{tx.last_updated}}
Cashnet URL: {{tx.cashnet_url}}
Cashnet Response: {{tx.result_parameters}}
Cashnet Transaction Info {%if tx.response_date%} Result: {{tx.cashnet_result_code}}
Transaction: {{tx.cashnet_transaction}}
Batch: {{tx.cashnet_batch}}
{%else%} N/A {%endif%}
{% endblock %}