Mailing List Archive

Interchange Security Code(CCV) to encryped emailfrom etc/report
Hi

Would anyone be able to assist me in getting the information into the
email sent using etc/report. From the strap demo template.

On pages/ord/finalize.html

<div class="well" style="padding-top:10px">
<fieldset class="form-horizontal">
<legend><i class="glyphicon glyphglyphicon glyphicon-lock"
style="margin-top:6px"></i> [L]Payment Information[/L]</legend>
[include include/checkout/payment_select]
[include include/checkout/payment_info]
</fieldset>
</div>


include include/checkout/payment_info

<div class="form-group">
<label for="cvv2" class="col-sm-3 control-label">[error
std_label="[L]Security code[/L]" name=mv_credit_card_cvv2 required=1]</label>
<div class="col-sm-3 col-md-2">
<input class="form-control" type="text"
name="mv_credit_card_cvv2" id="cvv2" maxlength="4" pattern="\d*" novalidate
autocorrect="off">
<span class="help-block"><a href="#modalcvv"
data-toggle="modal">where is it?</a></span>
</div>
</div>


I want mv_credit_card_cvv2 in etc/reports

etc/reports

Payment Method: [value mv_payment]
[if value mv_credit_card_info]
Credit Card Info:
----------------
[value mv_credit_card_info]
[/if][if value payment_method eq credit_card] Account Number: [value
mv_credit_card_reference] Expiration: [value mv_credit_card_exp_month]/
[value mv_credit_card_exp_year] Security Code: [value mv_credit_card_cvv2]
[/if]
...

[if value mv_credit_card_info]
[tag op=mime
interpolate=1
type=application/pgp-encrypted
description="CreditCard_[value mv_order_number]"]
[value mv_credit_card_info]
[/tag]
[/if]


But value mv_credit_card_cvv appears to be blank. Any ideas on how I may get
into the report the Security Code (CCV, CVV, CVC), I see in the email
after decryption Security Code: (All blank)...

I really thought this would add the security code to the encrypted email

Accont: CC_Number Expiration: MM/YYYY Security Code: [value mv_credit_card_cvv2]

But nothing after the Security Code:

Thanks,

--
Boyd Gerber <gerberb@zenez.com> 801 849-0213
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
_______________________________________________
interchange-users mailing list
interchange-users@interchangecommerce.org
https://www.interchangecommerce.org/mailman/listinfo/interchange-users
Re: Interchange Security Code(CCV) to encryped emailfrom etc/report [ In reply to ]
On 29/01/24 03:06, Boyd Lynn Gerber via interchange-users wrote:
> Hi
>
> Would anyone be able to assist me in getting the information into the
> email sent using etc/report.  From the strap demo template.
>
> I want mv_credit_card_cvv2 in etc/reports

You need to set a catalog variable MV_CREDIT_CARD_INFO_TEMPLATE. The
default is set to
"{MV_CREDIT_CARD_TYPE}\t{MV_CREDIT_CARD_NUMBER}\t{MV_CREDIT_CARD_EXP_MONTH}/{MV_CREDIT_CARD_EXP_YEAR}\t".

You need to add MV_CREDIT_CARD_CVV2 to the template, so you could put
this in your catalog.cfg:

Variable MV_CREDIT_CARD_INFO_TEMPLATE
"{MV_CREDIT_CARD_TYPE}\t{MV_CREDIT_CARD_NUMBER}\t{MV_CREDIT_CARD_CVV2}\t{MV_CREDIT_CARD_EXP_MONTH}/{MV_CREDIT_CARD_EXP_YEAR}"

...or any other template that contains those values.


Peter
_______________________________________________
interchange-users mailing list
interchange-users@interchangecommerce.org
https://www.interchangecommerce.org/mailman/listinfo/interchange-users