[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] No email when order is completed/No credit card number displayed
- Subject: [ic] No email when order is completed/No credit card number displayed
- From: interchange-users@icdevgroup.org (junk mail)
- Date: Mon Oct 21 18:06:00 2002
- In-reply-to: <20021021160001.15908.53867.Mailman@ic.redhat.com>
Subject: Re: [ic] No email when order is completed
From: "James P. Kinney III" <jkinney@localnetsolutions.com>
To: Interchange development group <interchange-users@icdevgroup.org>
Date: 20 Oct 2002 20:58:48 -0400
Reply-To: interchange-users@icdevgroup.org
Make sure you have the following in products/variable.txt
PGP_KEY <pgp key here> Encryption
the key looks something like: AE0B0055
------------------------------------------------------
Thanks,
That line was missing from the variable.txt file. I have added it and I
now am consistently receiving an email report for each order, but
instead of the credit card number I get a payment type with no card
number.
I found the following two sections of code in the report that seem to be
checking for credit card number, I am just not sure why the number is
not being used in the report:
[if value mv_credit_card_info]
Credit Card Info:
[value mv_credit_card_info]
[else]
[/else][/if]
Payment Method: [value mv_payment]
This section seems to indicate that it should put payment type if no
credit card number.
[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]
I found another message in the archive that seems to indicate that this
piece is correct, so I am not sure why the variable is not being
populated.
On Sun, 2002-10-20 at 20:39, Nick Giovas wrote:
> I have just finished setting up my PGP keys (and they appear to be
> working correctly when I test it from the command line), but now when
I
> place an order it appears to complete correctly, but it never sends me
> an email with the credit card number. I do get an email address at
the
> "customer address" confirming the order and the order shows up under
the
> control panel.
>
> If I look in the error log I do see an entry that says:
>
> PGP failed with status 2:
>
> The following are the settings I have in my catalog.cfg file:
>
> ## This route emails the order to you unless email is set to "",
> ## and failsafe-logs the order report a couple of places
> Route main <<EOF
> attach 0
> credit_card 1
> default 1
> email '__ORDERS_TO__'
> encrypt 0
> encrypt_program "__PGP__"
> errors_to '__ORDERS_TO__'
> pgp_cc_key "__PGP_KEY__"
> pgp_key "__PGP_KEY__"
> receipt etc/receipt.html
> report etc/report
> supplant 1
> individual_track orders
> track logs/tracking.asc
> EOF
>
> I searched the archives and didn't come up with anything. Does anyone
> have any ideas?
>
> Nick
>