PHP: 5.3.20; Joomla: 2.5.9; Hikashop: Starter 2.1.1_2013-03-30
I have been tracking this one down for a few days but without success.
First, I'm using the PayPal sandbox. Orders are processed and the customer receives notification of a created order. The order status is confirmed and everything appears in order. I am using the Akeebasubs integration and that too receives the correct data and a subscription period is generated.
The customer receives a notification of three things: a created notification, a confirmed notification, a notification of a successful subscription.
The admin receives notification of a new user, a new created order (complete with name, address and order items) and a confirmation email with the title "Paypal payment notification : payment Completed for order no.C4D9".
I have been through all the items listed for this problem and can confirm that the logfile is empty despite:
a) debug being on
b) the logfile is writable (664)
c) there is no .htaccess in the path to the logfile folder
d) all folders are 755.
However, the order does contain a dump of the transaction in the order history (see below)
Can't think what I've missed but hopefully the transaction details will shed light. In one sense it doesn't matter because everything appears to be working satisfactorily, but if things ever go wrong a logfile will be most useful.
Regards,
Ric
PS: for anyone without email notification be sure to check that the mail isn't in the junk folder. It was the lack of emails that started me off checking the debig option, logfiles, etc in the first place...
Array ( [option] => com_hikashop [ctrl] => checkout [task] => notify [notif_payment] => paypal [tmpl] => component [lang] => en [Itemid] => 127 [mc_gross] => 90.00 [invoice] => 50 [protection_eligibility] => Eligible [address_status] => confirmed [item_number1] => HL20_7_11 [payer_id] => E89LC9NPFXBUS [tax] => 0.00 [address_street] => 77 Sunset Strip [payment_date] => 11:15:04 Apr 02, 2013 PDT [payment_status] => Completed [charset] => windows-1252 [address_zip] => SS1 1SS [mc_shipping] => 0.00 [mc_handling] => 0.00 [first_name] => Chris [mc_fee] => 3.26 [address_country_code] => GB [address_name] => Chris Buy [notify_version] => 3.7 [custom] => [payer_status] => verified [business] => ric_1278928788_biz@sparky.uk.net [address_country] => United Kingdom [num_cart_items] => 1 [mc_handling1] => 0.00 [address_city] => MoreTown [verify_sign] => AFcWxV21C7fd0v3bYYYRCpSSRl31AOQ2xDJQXfSYo52dDW8fOnR8y4HN [payer_email] => chris_1336678062_per@sparky.uk.net [mc_shipping1] => 0.00 [tax1] => 0.00 [txn_id] => 3A070170TJ9890821 [payment_type] => instant [last_name] => Buy [address_state] => SYK [item_name1] => 2 hour lesson: Applied Science Higher [receiver_email] => ric_1278928788_biz@sparky.uk.net [payment_fee] => [quantity1] => 2 [receiver_id] => 8NNQF4NW39H98 [txn_type] => cart [mc_gross_1] => 90.00 [mc_currency] => GBP [residence_country] => GB [test_ipn] => 1 [transaction_subject] => Shopping Cart2 hour lesson: Applied Science Higher [payment_gross] => [ipn_track_id] => 35a1f7e1c7963 [hikashop_front_end_main] => 1 [view] => checkout ) stdClass Object ( [order_id] => 50 [order_billing_address_id] => 5 [order_shipping_address_id] => 5 [order_user_id] => 5 [order_status] => created [order_discount_code] => [order_created] => 1364926482 [order_ip] => 94.175.36.71 [order_currency_id] => 4 [order_shipping_price] => 0.00000 [order_discount_price] => 0.00000 [order_shipping_id] => [order_shipping_method] => [order_payment_id] => 1 [order_payment_method] => paypal [order_full_price] => 90.00000 [order_modified] => 1364926482 [order_partner_id] => 0 [order_partner_price] => 0.00000 [order_partner_paid] => 0 [order_type] => sale [order_partner_currency_id] => 0 [order_shipping_tax] => 0.00000 [order_discount_tax] => 0.00000 [order_number] => C5E0 [order_invoice_id] => 0 [order_invoice_number] => [order_tax_info] => Array ( ) [order_payment_price] => 0.00000 [order_invoice_created] => 0 ) Array ( [scheme] => https [host] => www.sandbox.paypal.com [path] => /cgi-bin/webscr [query] => [port] => 443 [host_socket] => ssl://www.sandbox.paypal.com ) POST /cgi-bin/webscr HTTP/1.0 User-Agent: PHP/5.3.20 Referer: https://science-learning.co.uk/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=en&Itemid=127 Server: LiteSpeed Host: www.sandbox.paypal.com:443 Content-Type: application/x-www-form-urlencoded Content-Length: 1304 Accept: */* option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=en&Itemid=127&mc_gross=90.00&invoice=50&protection_eligibility=Eligible&address_status=confirmed&item_number1=HL20_7_11&payer_id=E89LC9NPFXBUS&tax=0.00&address_street=77+Sunset+Strip&payment_date=11%3A15%3A04+Apr+02%2C+2013+PDT&payment_status=Completed&charset=windows-1252&address_zip=SS1+1SS&mc_shipping=0.00&mc_handling=0.00&first_name=Chris&mc_fee=3.26&address_country_code=GB&address_name=Chris+Buy¬ify_version=3.7&custom=&payer_status=verified&business=ric_1278928788_biz%40sparky.uk.net&address_country=United+Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=MoreTown&verify_sign=AFcWxV21C7fd0v3bYYYRCpSSRl31AOQ2xDJQXfSYo52dDW8fOnR8y4HN&payer_email=chris_1336678062_per%40sparky.uk.net&mc_shipping1=0.00&tax1=0.00&txn_id=3A070170TJ9890821&payment_type=instant&last_name=Buy&address_state=SYK&item_name1=2+hour+lesson%3A++Applied+Science+Higher&receiver_email=ric_1278928788_biz%40sparky.uk.net&payment_fee=&quantity1=2&receiver_id=8NNQF4NW39H98&txn_type=cart&mc_gross_1=90.00&mc_currency=GBP&residence_country=GB&test_ipn=1&transaction_subject=Shopping+Cart2+hour+lesson%3A++Applied+Science+Higher&payment_gross=&ipn_track_id=35a1f7e1c7963&hikashop_front_end_main=1&view=checkout&cmd=_notify-validate HTTP/1.1 200 OK Date: Tue, 02 Apr 2013 18:15:09 GMT Server: Apache X-Frame-Options: SAMEORIGIN Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=3tNZhYiecoos7uTREp6r4A2NcYDGslqsjn_A8FW-IcbRnr7EmdXDi5aFeMWFaqLGueG0wWvUOrg177eJqEo_tlXUApjBUGzch25EaENud2oUei32SFhwfFyrbBlVrbf5KdUa7W%7cTrzr1-DOBXFjJIJd2YivjLQ-VprLxQ2kog24tPjZ4HoeiDo3ejIdVnZwC_NfOSFi3uTTv0%7c5g9lkKtgS3FO1aSW3pQ9iZlgLc-1Mu9IWrFrbmVCPRRt8lIZxgud5RdAHSr1-GRu6fjWO0%7c1364926509; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: cookie_check=yes; expires=Fri, 31-Mar-2023 18:15:09 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navlns=0.0; expires=Mon, 28-Mar-2033 18:15:09 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: Apache=10.72.109.11.1364926509144517; path=/; expires=Thu, 26-Mar-43 18:15:09 GMT Connection: close Content-Type: text/html; charset=UTF-8 VERIFIED PayPal transaction id: 3A070170TJ9890821