Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

veral

Archived
  • Posts

    95
  • Joined

  • Last visited

Profile Information

  • Real Name
    wdc

veral's Achievements

  1. Fixed. I enabled it (even though I didn't have it before - and it used to work fine) with the correct URL, and it seems to be okay now...
  2. Actually - testing with the IPN debug code - it appears as if Paypal is not connecting back to my server to hit ipn.php ... (testing it with a direct call generates entries in the error_log, whereas waiting after a valid payment generates no entries). Should I fill out the IPN preferences?
  3. Hi All, I've recently moved servers, and my Paypal IPN (v2.3.3) which was working before on the old server ... I THINK was working for a bit on the new one (can't remember properly), but now all of the Paypal payments say: Preparing [Paypal IPN] whether they're valid or not. I get emails still saying they're fine, and I ran the ec_diagnostic file: Using at least PHP 4.3.0? Yes Is OpenSSL installed? Yes Does your store have an SSL certificate (shared/dedicated) installed and working? Yes Is cURL installed? Yes Does cURL work? (Simple HTTP test) Yes (I'm not using EC). Any suggestions as to why this might be occuring? I checked ext/ and ipn.php in there appears to be fine. Is there anything I'm missing? I checked the configure.php file in shop/includes/ and that seems okay as well. Should I be notifying paypal of an IP change somewhere? (I'm not with GoDaddy, and I have a Thawte EV SSL cert) Thanks in advance, V
  4. Hi All, I've recently moved servers, and my Paypal IPN (v2.3.3) which was working before on the old server ... I THINK was working for a bit on the new one (can't remember properly), but now all of the Paypal payments say: Preparing [Paypal IPN] whether they're valid or not. I get emails still saying they're fine, and I ran the ec_diagnostic file: Using at least PHP 4.3.0? Yes Is OpenSSL installed? Yes Does your store have an SSL certificate (shared/dedicated) installed and working? Yes Is cURL installed? Yes Does cURL work? (Simple HTTP test) Yes (I'm not using EC). Any suggestions as to why this might be occuring? I checked ext/ and ipn.php in there appears to be fine. Is there anything I'm missing? I checked the configure.php file in shop/includes/ and that seems okay as well. Should I be notifying paypal of an IP change somewhere? (I'm not with GoDaddy, and I have a Thawte EV SSL cert) Thanks in advance, V
  5. I have a similar intermittent problem with Protx Form - I have not yet upgraded to 1.16, but I'm going to right now... I notice some disdain towards Protx Form - does this mean it's always a better idea to go with Protx Direct?
  6. veral

    Protx Direct v2.22

    Hi all, I'm currently using Protx Form (as I thought this would allow me to be always current with the latest versions of the Protx back end, and would mean that I would not have to deal with storing CC information on my site). Is it a better idea to use Protx Direct? I've been having issues lately where the Protx payment (form) occurs, but no orderID is generated (and no order placed) on my site. Would you a) know of a fix, or B) recommend that I switch over to Protx direct instead. Thank you in advance for any insights on advantages you might be able to give.
  7. Hi all, I'm getting: 11/19/2007 03:55:52 False Preparing [PayPal IPN] 11/19/2007 03:57:45 True Processing PayPal IPN Verified [payment status: Completed (Verified; <total>EUR), Customer PayPal address: <address> unconfirmed] 11/19/2007 04:00:18 False Pending PayPal IPN Invalid [Completed] Any ideas why I'd be getting an invalid PayPal IPN? (From the Completed status?) Thanks
  8. Found it. I charge a 3.5% fee for people who want to pay via Paypal, and this is causing the check to fail. mc_gross for me is the sum WITHOUT the paypal fee (in my example, £6.44, with the fee being 0.23) $total['value'] for the order is £6.67, thus causing the discrepancy... Hmm, how do I tell paypal I want the whole of the order charged - which should be the sum that INCLUDES the 3.5% fee?
  9. It's this if statement: if ((((number_format($total['value'] * $order_db['currency_value'], $currencies->get_decimal_places($order_db['currency']))) - $_POST['mc_gross']) <= 0.05) && (((number_format($total['value'] * $order_db['currency_value'], $currencies->get_decimal_places($order_db['currency']))) - $_POST['mc_gross']) >= -0.05)) { // Terra -> modified update. If payment status is "completed" than a completed order status is chosen based on the admin settings if ( (MODULE_PAYMENT_PAYPAL_IPN_COMP_ORDER_STATUS_ID > 0) && ($_POST['payment_status'] == 'Completed') ) { // $order_status_id = MODULE_PAYMENT_PAYPAL_IPN_COMP_ORDER_STATUS_ID; $order_status_id = 2; } elseif (MODULE_PAYMENT_PAYPAL_IPN_ORDER_STATUS_ID > 0) { //$order_status_id = MODULE_PAYMENT_PAYPAL_IPN_ORDER_STATUS_ID; $order_status_id = 2; } } It's not going into the modified bit... Obviously I've hardcoded the order_status_id here, but that's what it's failing at. What's mc_gross?
  10. | 471 | Set PayPal Completed Order Status | MODULE_PAYMENT_PAYPAL_IPN_COMP_ORDER_STATUS_ID | 2 | Set the status of orders which are confirmed as paid (completed) to this value | 6 | 13 | NULL | 2007-11-18 20:35:40 | tep_get_order_status_name | tep_cfg_pull_down_order_statuses( | Hmm, that's correct also. Going to try again... ... Pending PayPal IPN Verified [payment status: Completed (Verified; £6.44), Customer PayPal address: <address GB>, confirmed] orders_status_id | language_id | orders_status_name | +------------------+-------------+------------------------+ | 1 | 1 | Pending | | 2 | 1 | Processing | Errr ....
  11. if ($_POST['payment_status'] == 'Pending') { $comment_status .= '; ' . $_POST['pending_reason']; } elseif ( ($_POST['payment_status'] == 'Reversed') || ($_POST['payment_status'] == 'Refunded') ) { $comment_status .= '; ' . $_POST['reason_code']; } elseif ( ($_POST['payment_status'] == 'Completed') && (tep_not_null($_POST['address_street'])) ) { $comment_status .= ", \n" . PAYPAL_ADDRESS . ": " . $_POST['address_name'] . ", " . $_POST['address_street'] . ", " . $_POST['address_city'] . ", " . $_POST['address_zip'] . ", " . $_POST['address_state'] . ", " . $_POST['address_country'] . ", " . $_POST['address_country_code'] . ", " . $_POST['address_status']; } $order_status_id = DEFAULT_ORDERS_STATUS_ID; // modified AlexStudio's Rounding error bug fix // variances of up to 0.05 on either side (plus / minus) are ignored if ((((number_format($total['value'] * $order_db['currency_value'], $currencies->get_decimal_places($order_db['currency']))) - $_POST['mc_gross']) <= 0.05) && (((number_format($total['value'] * $order_db['currency_value'], $currencies->get_decimal_places($order_db['currency']))) - $_POST['mc_gross']) >= -0.05)) { // Terra -> modified update. If payment status is "completed" than a completed order status is chosen based on the admin settings if ( (MODULE_PAYMENT_PAYPAL_IPN_COMP_ORDER_STATUS_ID > 0) && ($_POST['payment_status'] == 'Completed') ) { $order_status_id = MODULE_PAYMENT_PAYPAL_IPN_COMP_ORDER_STATUS_ID; } elseif (MODULE_PAYMENT_PAYPAL_IPN_ORDER_STATUS_ID > 0) { $order_status_id = MODULE_PAYMENT_PAYPAL_IPN_ORDER_STATUS_ID; } Hmm, I definitely get the address in the Comments history. (which must mean the status is set to completed as well). Given that the status is completed, the I guess the only thing for me to check is that the MODULE_PAYMENT_PAYPAL_IPN_COMP_ORDER_STATUS_ID is set correctly (which I think it is) ... how do I check that manually (i.e. in the database?)
  12. Yup. $Id: paypal_ipn.php,v 2.3.0.0 10/09/2007 11:58:21 alexstudio Exp $
  13. My actions were: 1) Remove Paypal IPN 2) Follow install instructions, changing some text in languages folders 3) Reinstall new Paypal IPN I have previously changed the orders status settings, but this is before step 1. It's just odd that I don't get a status change on Completed.? Is there any way for me to debug to locate the reason? Thanks again for your time, great work as always =)
  14. Hey Alex =) I have Paypal IPN 2.3.3 installed, and for some reason I'm not getting to the 'set Paypal Completed status'. I have 'Preparing [Paypal IPN]' defined, that works. I have 'Pending' defined for verified - that works also The response on the edit page I get is: PayPal IPN Verified [payment status: Completed (Verified; £6.44), Customer PayPal address: <blahblahblah> confirmed] -- I have 'Processing' defined for 'Completed order status' - but that doesn't seem to update... It's still in 'Pending' (see above) I've waited about 30 mins as well. Any ideas?
×
×
  • Create New...