Jump to content

peterp

Member
  • Content count

    162
  • Joined

  • Last visited

Community Reputation

77 Excellent

1 Follower

Profile Information

  • Gender
    Male
  • Location
    Melbourne, Australia

Recent Profile Visitors

7,681 profile views
  1. peterp

    paypal status change

    Hi Brian, Well after an extreme amount of blood sweat and tears the solution to this problem was that there seemed to be an inconsistency between the language selected and the language of the templates that had been defined. Apparently the reason PayPal was failing was because it was waiting for the other email templates to be completed which was not going to happen as they had not been defined. I must admit that I'm not really sure how this caused all of my issues, however when I changed the main language on the store setup to be the same as the templates that had been setup it all worked as expected. This solved the problem. Thanks for your help with this issue
  2. Hi All, I have been just reading about the trials and tribulations of IPN PayPal and getting responses back and changing orders from pending to processing. I'm having all of these issues, PayPal doesn't seem to give a response of 200 and CC does change the status from pending to processing, I have made the changes to code in the PayPal gateway.class so that the 'amp' is removed however I haven't turned off csrf where/how do I do this, this may solve my problem (hopefully). I'm currently using version 6.2 of cubecart. Hope somebody can help me or point me in the right direction Best Regards, Peterp
  3. peterp

    paypal status change

    Hi Brian, I have done some more investigating and when I go to the PayPal history I have found that a http error 500 has occurred (see attachment) When I try to run the notification url that is displayed I just get a blank screen. I have attached the request sent that marries up with the paypal history see below Today, 02:43 Request Sent - https://ipnpb.paypal.com/cgi-bin/webscr cmd=_notify-validate&mc_gross=0.01&invoice=180525-151541-6008&protection_eligibility=Eligible&address_status=confirmed&payer_id=8DANFV5AP2D76&address_street=p.o.+box+5264&payment_date=22%3A20%3A10+May+24%2C+2018+PDT&payment_status=Completed&charset=windows-1252&address_zip=2000&first_name=Debra&mc_fee=0.01&address_country_code=AU&address_name=peter+prentice¬ify_version=3.9&custom=&payer_status=unverified&business=info%40zippytieman.com.au&address_country=Australia&address_city=mordialloc&quantity=1&verify_sign=ApPV1ESX-mXIUoWN-XfvRdL8u0FJAbR8x2C4AByBQpIDINbdDKJ-y8kk&payer_email=debbancroft1102%40yahoo.com.au&txn_id=52J90157C9072973H&payment_type=instant&last_name=Bancroft&address_state=New+South+Wales&receiver_email=orders%40zippytieman.com.au&payment_fee=&shipping_discount=0.00&insurance_amount=0.00&receiver_id=75QRY9W3Z2RJ6&txn_type=web_accept&item_name=Order+180525-151541-6008&discount=0.00&mc_currency=AUD&item_number=180525-151541-6008&residence_country=AU&shipping_method=Default&transaction_subject=&payment_gross=&ipn_track_id=83125b88c2fa0 Response received VERIFIED Based on my limited knowledge of the workings of PayPAl it seems that we are getting 500 error code which is causing our issues, however I'm not sure which server is causing what, should I be talking to our hosting people and if so what should they be looking for. Sorry it seems a bit vague but this problem is really causing me some pain. I hope these screen dumps are of some help best regards, Peterp
  4. peterp

    paypal status change

    Hi Brian, I have had the client to enter a order and to use the correct data in each of the fields for the name and address fields that need to be filled out when using the secure checkout, that is there was no silly data it was all real, unfortunately the corrupt looks as though it still has happened which means we got the same result of a pending order. As far as PayPal is concerned it is a paid transaction but this is not been transmitted to cubecart. The request log is below for the order Today, 09:45 Request Sent - https://ipnpb.paypal.com/cgi-bin/webscr cmd=_notify-validate&mc_gross=0.01&invoice=180524-105622-8343&protection_eligibility=Ineligible&address_status=confirmed&payer_id=7NZNWYWRUPJG8&address_street=212%0D%0AMount+Browne+Road&payment_date=17%3A58%3A32+May+23%2C+2018+PDT&payment_status=Completed&charset=windows-1252&address_zip=2450&first_name=Sally&mc_fee=0.01&address_country_code=AU&address_name=Sally+Glenton¬ify_version=3.9&custom=&payer_status=unverified&business=orders%40zippytieman.com.au&address_country=Australia&address_city=Upper+Orara&quantity=1&verify_sign=AyT6.xRA589q33YWBduptUmRz9IyAPuINt-tq22p1RgaTbIHMpHrbmwu&payer_email=accounts%40zippytieman.com.au&txn_id=5HS2********5944L&payment_type=instant&last_name=Glenton&address_state=New+South+Wales&receiver_email=orders%40zippytieman.com.au&payment_fee=&shipping_discount=0.00&insurance_amount=0.00&receiver_id=75QRY9W3Z2RJ6&txn_type=web_accept&item_name=Order+180524-105622-8343&discount=0.00&mc_currency=AUD&item_number=180524-105622-8343&residence_country=AU&receipt_id=0083-6045-3411-6404&shipping_method=Default&transaction_subject=&payment_gross=&ipn_track_id=efd01b5c9d2ff Response received VERIFIED Order Summary Change Status Order Status Delivery Address Sally Glenton 212 Mount Browne Road UPPER ORARA NEW SOUTH WALES, 2450 Australia Billing Address Sally Glenton 212 Mount Browne Road UPPER ORARA NEW SOUTH WALES, 2450 Australia Order Date: 24 May 2018, 10:56 Items 1 x Test Product (Not For Sale) - test-Product ($0.00)$0.00 Subtotal:$0.00 Total Discount :$0.00 Shipping:$0.01 Total Tax:$0.00 Total:$0.01 Contact Details Emailaccounts@zippytieman.com.au Phone / Mobile0415725110 IP Address49.176.167.211 Shipping Information Shipping MethodAll In One Shipping Shipping ProductTest Only GatewayPayPal It seems to have corupted the same data as before so is the fault of what cubecart is sending or is it something the PayPal IPN api is causing, we are using the standard PayPal gateway. I honestly do not know where to go from here. I don't know enough about PayPal standard to ascertain whether it is a PayPal issue or a cubecart issue Any help will be appreciated Best Regards, Peterp
  5. peterp

    Print Order Form Status

    Hi Brian, That fixed it thankyou so much ver much appreciated Best Regards Peterp
  6. peterp

    Print Order Form Status

    HI Keat, I have implemented the changes you have suggested and it works like a treat unfortunately now the customer is getting 2 confirmation emails, could these code changes have caused this to happen as it wasn't happening before the changes. Where should I be looking to try and limit this to only 1 confirmation email Thanks for your help very much appreciated. Best Regards, Peterp
  7. peterp

    Print Order Form Status

    Hi Keat, Appreciate your response I will try this in the next couple of days, unfortunately I'm on the road and won't be able to implement these changes until Friday my time. This client has the admin settings set to when the status is set to 'Processing' emails will be sent and they will have an order notification set to admin, I'm guessing that once this modification is implemented then they will recieve these emails as though it was a normal order. Thanks again very much appreciated. Best Regards, Peterp
  8. peterp

    POF email to admin with confirmation

    Hi Brian, Thanks for this solution, the client is aware that the POF gateway does not set the status to 'Processing' and is aware that with this modification they will simple get an email stating that there has been an POF order placed and they will have to go to admin to change the status to 'Processing' to get the order. Currently the client has the admin settings set to receive notices when orders have a status of 'Processing' this is unlikely to change. I haven't implemented this code as yet as I'm on the road and it won't be until Friday my time before I will be able to implement it Thanks again for your help Best Regards, Peterp
  9. peterp

    paypal status change

    Hi Brian, The request log for the times you requested are for a paypal sandbox, I have included them below with the request log for the order 180522-145657-3361 Yesterday, 14:58 Request Sent - https://ipnpb.paypal.com/cgi-bin/webscr cmd=_notify-validate&mc_gross=0.01&invoice=180522-145657-3361&protection_eligibility=Eligible&address_status=confirmed&payer_id=8DANFV5AP2D76&address_street=1&payment_date=21%3A57%3A58+May+21%2C+2018+PDT&payment_status=Completed&charset=windows-1252&address_zip=2450&first_name=Debra&mc_fee=0.01&address_country_code=AU&address_name=Sally+Best¬ify_version=3.9&custom=&payer_status=unverified&business=orders%40zippytieman.com.au&address_country=Australia&address_city=Upper+Orara&quantity=1&verify_sign=Ak171esEOv-co2E0sYKmQ0WNitcSAU5kLX6pogUPzIDYF7XcrmAm6AfK&payer_email=debbancroft1102%40yahoo.com.au&txn_id=56L21637KM714672X&payment_type=instant&last_name=Bancroft&address_state=New+South+Wales&receiver_email=orders%40zippytieman.com.au&payment_fee=&shipping_discount=0.00&insurance_amount=0.00&receiver_id=75QRY9W3Z2RJ6&txn_type=web_accept&item_name=Order+180522-145657-3361&discount=0.00&mc_currency=AUD&item_number=180522-145657-3361&residence_country=AU&shipping_method=Default&transaction_subject=&payment_gross=&ipn_track_id=dec628c297478 Response received VERIFIED Yesterday, 14:45 Request Sent - https://ipnpb.sandbox.paypal.com/cgi-bin/webscr cmd=_notify-validate&mc_gross=0.01&invoice=180522-144115-6381&protection_eligibility=Ineligible&address_status=confirmed&payer_id=HC498LDWJ7RPS&address_street=1%0D%0Asnith&payment_date=21%3A45%3A21+May+21%2C+2018+PDT&payment_status=Pending&charset=windows-1252&address_zip=2450&first_name=Peter&address_country_code=AU&address_name=sally+glenton¬ify_version=3.9&custom=&payer_status=unverified&address_country=Australia&address_city=coffs+harbour&quantity=1&verify_sign=A8PiOurJ1pfGWJsUernojno.idsRAC3R1iHGIVCxunP3rcRGFEonaXG5&payer_email=peter%40blackdogenterprises.com.au&txn_id=01N9********0423D&payment_type=instant&last_name=Prentice&address_state=New+South+Wales&receiver_email=orders%40zippytieman.com.au&pending_reason=unilateral&txn_type=web_accept&item_name=Order+180522-144115-6381&mc_currency=AUD&item_number=180522-144115-6381&residence_country=AU&test_ipn=1&transaction_subject=&payment_gross=&ipn_track_id=23efde64973bc Response received VERIFIED Yesterday, 14:25 Request Sent - https://ipnpb.sandbox.paypal.com/cgi-bin/webscr cmd=_notify-validate&mc_gross=0.01&invoice=180522-142000-9118&protection_eligibility=Ineligible&address_status=confirmed&payer_id=HC498LDWJ7RPS&address_street=1%0D%0ASmith+Street&payment_date=21%3A25%3A31+May+21%2C+2018+PDT&payment_status=Pending&charset=windows-1252&address_zip=2450&first_name=Peter&address_country_code=AU&address_name=sally+glenton¬ify_version=3.9&custom=&payer_status=unverified&address_country=Australia&address_city=Coffs+Harbour&quantity=1&verify_sign=AQoT17pkcamS6fK8eElyumvkzolZAAqQFpXaVvSydlDxfQUnN8NB7YjS&payer_email=peter%40blackdogenterprises.com.au&txn_id=5ST45875P7181052X&payment_type=instant&last_name=Prentice&address_state=New+South+Wales&receiver_email=orders%40zippytieman.com.au&pending_reason=unilateral&txn_type=web_accept&item_name=Order+180522-142000-9118&mc_currency=AUD&item_number=180522-142000-9118&residence_country=AU&test_ipn=1&transaction_subject=&payment_gross=&ipn_track_id=c0dcc1e49ff4c Response received VERIFIED 180521-130755-3493 $96.95 NAB 21 May 2018, 13:08 180522-142241-1500 $100.75 NAB Yesterday, 14:23 180522-142000-9118 $0.01 PayPal Yesterday, 14:25 180522-144115-6381 $0.01 PayPal Yesterday, 14:45 180522-205552-7267 $12.95 Bank Transfer Yesterday, 20:55 180522-211414-9901 $12.95 Bank Transfer Yesterday, 21:14 There is not a transaction log for the order invoice=180522-145657-3361 This order was still being verified at a later time even into today which I'm putting down to the cubecart is still trying to accept it please see the request log for later in the day (see below) There is probably no request log as the transaction has not been accepted yet Thanks Brian I hope this is helpful Best Regards, Peterp
  10. Hi All, I have a client that is using the print order form gateway and wants to have the status of the finished order to be processing instead of pending, I have changed the gateway-class.php at line 68-69 to be as below /* $transData['status'] = 'Pending'; */ $transData['status'] = 'Processing'; unfortunately this does'nt change the status as I thought it would is there somewhere else I need to change so that the 'print order form' has a status processing instead of pending. The client is aware that there has been no transfer of funds into there bank account and are aware that will need to control this orders manually. Hopefully somebody can help me Best Regards, peterp
  11. peterp

    paypal status change

    Hi Brian, Transaction Logs for Order 180522-144115-6381 Transaction ID Status Amount Gateway Date/Time Notes 01N9900025750423D Pending $0.01 PayPal Today, 14:45 The payment is pending; see the pending_reason variable for more information. Please note, you will receive another Instant Payment Notification when the status of the payment changes to 'Completed', 'Failed', or 'Denied'. Transaction Logs for Order 180522-142000-9118 Transaction ID Status Amount Gateway Date/Time Notes 5ST45875P7181052X Pending $0.01 PayPal Today, 14:25 The payment is pending; see the pending_reason variable for more information. Please note, you will receive another Instant Payment Notification when the status of the payment changes to 'Completed', 'Failed', or 'Denied'. This is what was in the transaction log for the last 2 orders there is no entry that states that the transaction was successful, however there is status of pending which effectively is the problem as far as PayPal is concerned it has been paid. thanks for the help I am at my wits end with this one. Best regards, Peterp
  12. peterp

    paypal status change

    Hi all, I have a client that is using paypal IPN and ver 6.2 of cubecart znd what is happening is that the status is not being changed from pending to processed. I have checked the request log and there does seem to be any invalid responses and I can see that the order request has been sent and all looks ok( see below) but the status is not being changed therefore no emails are being sent. Today, 14:58 Request Sent - https://ipnpb.paypal.com/cgi-bin/webscr cmd=_notify-validate&mc_gross=0.01&invoice=180522-145657-3361&protection_eligibility=Eligible&address_status=confirmed&payer_id=8DANFV5AP2D76&address_street=1&payment_date=21%3A57%3A58+May+21%2C+2018+PDT&payment_status=Completed&charset=windows-1252&address_zip=2450&first_name=Debra&mc_fee=0.01&address_country_code=AU&address_name=Sally+Best¬ify_version=3.9&custom=&payer_status=unverified&business=orders%40zippytieman.com.au&address_country=Australia&address_city=Upper+Orara&quantity=1&verify_sign=Ak171esEOv-co2E0sYKmQ0WNitcSAU5kLX6pogUPzIDYF7XcrmAm6AfK&payer_email=debbancroft1102%40yahoo.com.au&txn_id=56L21637KM714672X&payment_type=instant&last_name=Bancroft&address_state=New+South+Wales&receiver_email=orders%40zippytieman.com.au&payment_fee=&shipping_discount=0.00&insurance_amount=0.00&receiver_id=75QRY9W3Z2RJ6&txn_type=web_accept&item_name=Order+180522-145657-3361&discount=0.00&mc_currency=AUD&item_number=180522-145657-3361&residence_country=AU&shipping_method=Default&transaction_subject=&payment_gross=&ipn_track_id=dec628c297478 Response received VERIFIED I was wondering if anybody else has had this issue and if so could you point me in the right direction to fix this Thankyou Best Regards, Peterp
  13. peterp

    POF email to admin with confirmation

    Hi Brian Have I entered the provided code in the right place as suggested by you Best Regards, Peterp
  14. peterp

    POF email to admin with confirmation

    Hi Brian, Thankyou for this piece of code, I implemented it into the POF payment gateway and also the BANK_Transfer gateway that we created recently and it sent an email stating that and order had been received but unfortunately there was not data inserted into any of the fields. So you could not see the order number or the address or the paid by information. So where do we get this information (see Below) Zippy Tie Man Order Received ABN: 16505977418 just placed order number on . Paid By: ---------------------------------------------------------------------- Customer Comments: ---------------------------------------------------------------------- This order can be managed online by following the link below. Billing address: Email: Shipping address: Item Quantity Cost Shipping: Discount: Subtotal: Order Total: Kind regards, The Zippy Tie Man Staff I have put the code on the blank line above the line you suggested please see below I hope I have put it in the correct place $order_summary['link'] = $GLOBALS['storeURL'].'/index.php?_a=vieworder&cart_order_id='.$order_summary['cart_order_id']; $GLOBALS['smarty']->assign('DATA', $order_summary); $GLOBALS['smarty']->assign('BILLING', $billing); $GLOBALS['smarty']->assign('SHIPPING', $shipping); $GLOBALS['smarty']->assign('TAXES', $vars['taxes']); $GLOBALS['smarty']->assign('PRODUCTS', $vars['products']); Mailer::getInstance()->sendEmail($order_summary['email'], $content); } } $POF_Admin_Mailer = new Mailer(); $POF_Admin_Content = $POF_Admin_Mailer->loadContent('admin.order_received'); $order->assignOrderDetails(null, true); $POF_Admin_Mailer->sendEmail($GLOBALS['config']->get('config', 'email_address'), $POF_Admin_Content); $GLOBALS['cart']->clear(); } } public function process() { return false; } ################################################## public function form() { return false; } } Thanks again Brian appreciate your help Best Regards, Peterp
  15. Hi All, I have a client that has the admin parameter that determines when the emails of confirmation are sent and it is set to processing this all works as expected , however what they would like to happen for POF sales which sets the status of their orders to pending and are always paid by Bank Transfer the next day, which is ok but admin/accounts doesn't get an email that alerts the staff that there is an order wih a pending status which would hve been paid by Bank Transfer. What they would like to happen is to be notified that there are pending orders that have been created via the POF payment gateway. Is there a way that I could change the POF payment gateway to produce an email that informs the staff that an order has been placed and has a pending status and they should be looking for the associated bank transfer in their banking statement. The email could be the same as the email that is sent when the pending orders status is changed to processing. Could I try placing the code for this process just after the email that is sent to the customer thanking them for the order but only for pending status POF orders. I will greatly appreciate any help with this issue Thankyou and best Regards, Peterp
×