Forums / PayPal Express Checkout support / Does Email with Debug on Mean an Error?

Does Email with Debug on Mean an Error?

Locked

Started by bettysue on 4 Feb 2007, 10:48 PM · Views: 3,016

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Feb 2007, 10:48 PM
#1
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Does Email with Debug on Mean an Error?

Someone suggested that for Paypal I should keep it on debug and email.

Does it only send an email if there is an error, or does it send one with every order?

I'm asking as an order came through for a download with the sales amount as $0.00 which I know can happen if you just add to cart and don't select the song or album you want to download.

However I also got a paypal message that has an amount in it, and the word success at the bottom, but I don't know what the message in total means:

2007-02-04 08:03:12
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers: array (
  0 => 'Content-Type: text/namevalue',
  1 => 'X-VPS-Timeout: 45',
  2 => 'X-VPS-VIT-Client-Type: PHP/cURL',
  3 => 'X-VPS-VIT-Integration-Product: PHP::Zen Cart WPP-NVP',
  4 => 'X-VPS-VIT-Integration-Version: 0.1',
)

Request Parameters: {SetExpressCheckout} array (
  'LOCALECODE' => 'US',
  'PAYMENTACTION' => 'Sale',
  'AMT' => '9.99',
  'RETURNURL' =>
'https://www.removed for security/ipn_main_handler.php?type=ec',
  'CANCELURL' =>
'https://www.removed for security/index.php?main_page=login&ec_cancel=1',
  'PAGESTYLE' => 'ourstore_1',
  'METHOD' => 'SetExpressCheckout',
  'CURRENCYCODE' => 'USD',
  'USER' => 'paypal_api1.removed for security,
  'PWD' => '****************',
  'VERSION' => '2.3',
  'SIGNATURE' => '****************************************************oGoj',
)

Response: array (
  'TIMESTAMP' => '2007-02-04T15:03:12Z',
  'CORRELATIONID' => 'f8ccd5781ff3e',
  'ACK' => 'Success',
  'VERSION' => '2.300000',
  'BUILD' => '1.0006',
  'TOKEN' => 'EC-1LF60169EW992892H',
) 

Thank You,
Betty

Give a blonde a new toy, give her the instruction book, and she can't figure out how to get the wrapper off the darn book!

8 Feb 2007, 5:38 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Does Email with Debug on Mean an Error?

bettysue:

Someone suggested that for Paypal I should keep it on debug and email.This is only needed if you're encountering regular problems with failed transactions.
Does it only send an email if there is an error, or does it send one with every order? It sends several emails for each step of every transaction attempted. This can create a lot of information to try to follow, and most of it is not meaningful unless you understand what to look for.

I ... got a paypal message that has an amount in it, and the word success at the bottom, but I don't know what the message in total means:

Response: array (
'TIMESTAMP' => '2007-02-04T15:03:12Z',
'CORRELATIONID' => 'f8ccd5781ff3e',
'ACK' => 'Success',
'VERSION' => '2.300000',
'BUILD' => '1.0006',
'TOKEN' => 'EC-1LF60169EW992892H',
)
** 'ACK' => 'Success',** means that the particular step of the transaction being reported was successful. This does not necessarily mean you've received payment. It just means that the PayPal server didn't respond with an error at this stage. There are a lot of stages to each transaction.
In the transaction you mention, the "success" message only means that the request to allow the customer to go to the PayPal login page was successful.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.