
Originally Posted by
yellow1912
Give me till this weekend, I have a new version coming out soon which will fix all known bugs.
Even the one with Paypal IPN ? I've been struggling quite a lot with it but I have not really understood what actually happens yet. If it can help, here are the logs generated by the module:
Code:
Jun 01 2008 15:22 -- Keys for submission: Array
(
[charset] => iso-8859-1
[lc] => FR
[page_style] => Primary
[custom] => zenid=dbd9e25d5b5790c22a0a714a5a6142ea
[business] => [email protected]
[return] => https://my_https_host/checkout_process/referer/paypal?zenid=dbd9e25d5b5790c22a0a714a5a6142ea
[cancel_return] => https://my_https_host/checkout_payment?zenid=dbd9e25d5b5790c22a0a714a5a6142ea
[shopping_url] => https://my_https_host/shopping_cart?zenid=dbd9e25d5b5790c22a0a714a5a6142ea
[notify_url] => https://my_https_host/ipn_main_handler.php
[redirect_cmd] => _xclick
[rm] => 2
[bn] => zencart
[mrb] => XXXXXXXXXXXXXXX
[pal] => XXXXXXXXXXXXXXXX
[first_name] => XXXX
[last_name] => XXXXXXX
[address1] => XXXXXXX
[city] => XXXXXXXXX
[state] => XXXX
[zip] => XXXX
[country] => X
[email] => [email protected]
[H_PhoneNumber] => XXXXXX
[night_phone_b] => XXXXXXX
[day_phone_b] => XXXX
[no_shipping] => 1
[upload] => 1
[currency_code] => EUR
[cmd] => _ext-enter
[item_name] => XXXXXXXXX
[item_number] => MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_ITEMNUM
[amount] => 7.20
[shipping] => 0.00
[tax] => 0.00
[tax_cart] => 0.00
)
Code:
Jun 01 2008 15:27 -- IPN PROCESSING INITIATED.
*** Originating IP: 66.211.170.66 notify.paypal.com
Code:
Jun 01 2008 15:27 -- PDT Returned Data Array
(
)
Jun 01 2008 15:27 -- PDT WARNING :: Order not marked as "Completed". Check for Pending reasons or wait for IPN to complete.
[payment_status] =>
[pending_reason] =>
Jun 01 2008 15:27 -- PDT WARNING :: Transaction already exists. Perhaps IPN already added it. PDT processing ended.
Code:
Jun 01 2008 15:27 -- IPN INFO - POST VARS to be sent back for validation:
To: www.paypal.com:80
POST /cgi-bin/webscr HTTP/1.1
Host: www.paypal.com
Content-type: application/x-www-form-urlencoded
Content-length: 143
Connection: close
Array
(
[cmd] => _notify-sync
[tx] =>
[at] => XXXXXXXXXXXXXXXXXXX
)
Jun 01 2008 15:27 -- IPN INFO - Confirmation/Validation response
FAIL
Jun 01 2008 15:27 -- IPN WARNING :: PDT Transaction was not marked as SUCCESS. Keep this report for potential use in fraud investigations.
IPN Info =
FAIL
Code:
Jun 01 2008 15:30 -- IPN PROCESSING INITIATED.
*** Originating IP: 66.211.170.66 notify.paypal.com
I don't understand how SSU could interfere with Paypal, but it does. However according to the logs it seems that there IS bidirectional communication
.
Unfortunately I can't use SSU until this problem can be solved...
Please show up if you need some help to code or to do some tests for your new version.