Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Ship 2 Pay v1.0 (MS1)

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
Selecting a default payment method in oscommerce is usually done by inserting:

$payment = (!$payment) ? 'cc' : $payment;

just before

for ($i=0, $n=sizeof($selection); $i<$n; $i++) {

in the checkout_payment.php. Where cc stands for the payment method. However when using ship2pay this trick doesnt work (at least not for me). This is how it can be done with the ship2pay contrib:

Log in to your mysql db using phpmyadmin or any other method of reaching your database. Go to the ship2pay table and change the 'payments_allowed' columns of all shipping methods. Make sure that your preffered payment method is the middle one of the allowed payment methods. If you have an equal number of payment methods it is just a matter of testing which one is selected at this moment and changing your preffered payment method to that position.

E.g.
You have 3 payment methods which are inserted in your 'payments_allowed ' as following:

cod.php;cop.php;paypal.php;

Default selected is the cop.php (cash payments). If you want to have paypal as the default payment method change the 'payments_allowed' to the following:

cod.php;paypal.php;cop.php;

That's it. Simple and straightforward.

Attached file contains this text
   Posted on: 10/11/2008     See contribution details Request Installation with Paid service