Contributions

Payment Modules (Category Index)
Search: 

One Page Checkout

The #1 most requested contribution is now a reality. Drastically increase sales and cart conversions with this module. This module features:
<ul type="disc">
<li>Real one page checkout where customer can enter shipping/billing information and view order totals and confirm the order. Eliminates the need of 4 extra pages from the checkout process.</li>
<li>Works with vouchers/coupons module: <a href="http://www.oscommerce.com/community/contributions,282/category,all/search,vouchers">http://www.oscommerce.com/community/contributions,282/category,all/search,vouchers</a> version 5.20a</li>
<li>Admin area to turn it on or off, optional auto-generation of user account password, turn on/off side columns to prevent users from navigating away from checkout</li>
<li>Most billing/shipping modules are fully compatible</li>
<li>No extra navigation/pages for customer to select billing/shipping addresses when they don&rsquo;t want to use the default, they can add/edit their address right on the page</li>
<li>Does not require JavaScript (but page will have to refreshed in this case)</li>
</ul>
<p>Demo URL: <a href="http://www.itwebexperts.com/onepagecheckout/">www.itwebexperts.com/onepagecheckout/</a> screenshots are also in the contribution files. Sorry, no free support will be provided for this module. Module developed by <a href="http://www.itwebexperts.com">www.itwebexperts.com</a>.

Expand All / Collapse All

OPC 1.5 bug fix 24 Apr 2011

1. In the new_address.php, it should be at the top "addNewAddress" not "saveAddress"
2. In the onepage_checkout.php you need to remove the blank return that is at the bottom underneath "success:true" in the saveAddress function

Oh so you want to know about the PayPal Express? This would be if they are using PayPal Pro only though. Specifically "PayPal Pro for osCommerce 2.2MS2+
Direct Payment & Express Checkout

Developed and maintained by:
Brian Burton (dynamoeffects)"

Commented out: checkout.js
if(checkoutClass.amountRemaininginTotal == true){
if ($(':radio[name="payment"]:checked').size() <= 0){
if ($('input[name="payment"]:hidden').size() <= 0){
errMsg += '------------------------------------------------' + "n" +
' Payment Selection Error ' + "n" +
'------------------------------------------------' + "n" +
'You must select a payment method.' + "n";
}
}
}

Added: payment_method.php
At the very top
<?php //---PayPal WPP Modification START ---//-- ?>
<?php if (!$ec_enabled || isset($_GET['ec_cancel']) || (!tep_session_is_registered('paypal_ec_payer_id') && !tep_session_is_registered('paypal_ec_payer_info'))) { ?>
<?php //---PayPal WPP Modification END ---//-- ?>

At the very bottom
<?php
//---PayPal WPP Modification START ---//
} else {
tep_paypal_wpp_switch_checkout_method(FILENAME_CHECKOUT_PAYMENT);
}
//---PayPal WPP Modification END ---//
?>

IF the user is not using the direct payment portion then they will need to:
Add this as well, underneath $selection = $payment_modules->selection();

// Skips PayPal Pro Module, only used for express checkout
for ($i = 0, $n = sizeof($selection); $i < $n; $i++) {
if ($selection[$i]['id'] == 'paypal_wpp') {
array_splice($selection, $i, 1);
break;
}
}



credits to twocats_us for solving the bugs

file uploaded just says the same as text above

one page checkout 1.5 22 Mar 2011
One Page Checkout 1.4 25 Aug 2010
One Page Checkout 1.3 18 Apr 2010
One Page Checkout 1.3 Note 15 Apr 2010
One Page Checkout 1.3 15 Apr 2010
One Page Checkout 1.2 6 Feb 2010
One Page Checkout 1.1 10 Dec 2009
One Page Checkout 1.09 9 Nov 2009
One Page Checkout 1.08 13 Oct 2009
One Page Checkout 1.07 22 Sep 2009
One Page Checkout 1.06 14 Jul 2009
One Page Checkout 1.05 4 Jun 2009
One Page Checkout 1.04 15 May 2009
One Page Checkout 1.03 11 May 2009
One Page Checkout 1.02 8 May 2009
One Page Checkout 1.01 7 May 2009
One Page Checkout 2 Apr 2009

Note: Contributions are used at own risk.