Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal IPN testing?


pix

Recommended Posts

I have set up OSCommerce to use the PayPal module, but I'd like to put it into a "test" mode i.e. I'd like to go through the whole buying process without actually charging the credit card. Anyone know how I do this?

 

Thanks!

Link to comment
Share on other sites

yes i suggest that you install that contribution because on the basic Paypal module, if customers forget to click continue at the end of the transaction at Paypal, you receive the money but not the order in your admin->orders

 

The_Bear

Link to comment
Share on other sites

yes i suggest that you install that contribution because on the basic Paypal module, if customers forget to click continue at the end of the transaction at Paypal, you receive the money but not the order in your admin->orders

 

The_Bear

how does that contrubtion fix that?

i have the problem where they dont click continue and also they let it time out:

Link to comment
Share on other sites

I have installed OSCommerce 2.2 ms2 and this paypal module, as per the instructions. Since doing so, my admin site is displaying a lot of errors, specifically...

 

-----------------------

 

'); define('FILENAME_ZONES', 'zones.php'); //begin PayPal_Shopping_Cart_IPN define('FILENAME_PAYPAL_IPN', 'paypal_ipn.php'); define('FILENAME_PAYPAL_IPN_TEST', 'paypal_ipn_test.php'); //end PayPal_Shopping_Cart_IPN ?> define('TABLE_ZONES', 'zones'); //begin PayPal_Shopping_Cart_IPN define(TABLE_PAYPAL_IPN,'paypal_ipn'); define(TABLE_PAYPAL_IPN_ORDERS,'paypal_ipn_orders'); define(TABLE_PAYPAL_IPN_ORDERS_MEMO,'paypal_ipn_orders_memo'); define(TABLE_PAYPAL_IPN_TXN_TYPE,'paypal_ipn_txn_type'); define(TABLE_PAYPAL_IPN_REASON_CODE,'paypal_ipn_reason_code'); define(TABLE_PAYPAL_IPN_PAYMENT_TYPE,'paypal_ipn_payment_type'); define(TABLE_PAYPAL_IPN_PAYMENT_STATUS,'paypal_ipn_payment_status'); define(TABLE_PAYPAL_IPN_PAYMENT_PENDING_REASON,'paypal_ipn_pending_reason'); define(TABLE_PAYPAL_IPN_MC_CURRENCY,'paypal_ipn_mc_currency'); define(TABLE_PAYPAL_IPN_PAYMENT_ADDRESS_STATUS,'paypal_ipn_address_status'); //end PayPal_Shopping_Cart_IPN ?> replace('(' . implode('|', $from) . ')', $to, $string); } else { return str_replace($from, $to, $string); } } function tep_string_to_int($string) { return (int)$string; } //// // Parse and secure the cPath parameter values function tep_parse_category_path($cPath) { // make sure the category IDs are integers $cPath_array = array_map('tep_string_to_int', explode('_', $cPath)); // make sure no duplicate category IDs exist which could lock the server in a loop $tmp_array = array(); $n = sizeof($cPath_array); for ($i=0; $i<$n; $i++) { if (!in_array($cPath_array[$i], $tmp_array)) { $tmp_array[] = $cPath_array[$i]; } } return $tmp_array; } ?> ine('WARNING_FILE_UPLOADS_DISABLED', 'Warning: File uploads are disabled in the php.ini configuration file.'); ?>

 

--------------

 

appears at the top of the page.

 

Can anyone point me in the right direction as to the problem?

 

Many thanks,

 

Mike.

Link to comment
Share on other sites

I just installed MS2 and now having problems on last page. Before it goes to paypal, the values are somehow being set to 0.

 

On the page the total is fine except it's 0 in hidden values as explained here:

 

<input type="hidden" name="redirect_cmd" value="_xclick"><input type="hidden" name="amount" value="0"><input type="hidden" name="shipping" value="0">

 

But the page shows

 

Sub-Total: $30.00

Federal Express (1 x 10lbs) (Ground Service (1 days)): $8.24

TAX1: $4.50

TAX2: $1.24

Total: $43.98

 

Any ideas ? What am I missing.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...