Stock money.payment_receipt.print action trigger template has Credit Card hardcoded as payment type

Bug #1980294 reported by Jennifer Pringle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Medium
Unassigned

Bug Description

Evergreen 3.9
Chrome

The money.payment_receipt.print action trigger template, which prints payment receipts for patrons from My Account, has Payment Type hard coded as Credit Card.

 <div> <!-- Summary of all the information -->
       Payment Type: Credit Card <br />
       Total:<strong> $[% grand_total | format("%.2f") %] </strong>
    </div>

I think is should have something similar to, or the same as, the money.payment_receipt.email action trigger template.

 Line item payments:
        [% FOR mp IN xact_mp_hash.$xact_id.payments %]
            Payment ID: [% mp.id %]
                Paid [% mp.amount %] via [% SWITCH mp.payment_type -%]
                    [% CASE "cash_payment" %]cash
                    [% CASE "check_payment" %]check
                    [% CASE "credit_card_payment" %]credit card
                    [%- IF mp.credit_card_payment.cc_number %] ([% mp.credit_card_payment.cc_number %])[% END %]
                    [% CASE "debit_card_payment" %]debit card
                    [% CASE "credit_payment" %]credit
                    [% CASE "forgive_payment" %]forgiveness
                    [% CASE "goods_payment" %]goods
                    [% CASE "work_payment" %]work
                [%- END %] on [% mp.payment_ts %] [% mp.note %]
        [% END %]

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Trevor Riddley (trevorriddley) wrote (last edit ):

Interesting, was it solved? I understand that this can cause a lot of trouble because credit cards are not always the most convenient way to pay. I love payment systems where you can link several different cards so that you don’t have to look for the one you need at the moment every time. Therefore, on the https://casinosanalyzer.com/online-casinos/minnesota-usa website I choose services where I can pay for services in a way that is convenient for me. Some gaming services offer PayPal, some pay by SMS, and some Skrill. Such variety is very convenient. I am glad that I found this site at the time, I hope it will help you too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.