PDA

View Full Version : One Page Checkout



michael_s
04-24-2011, 02:20 AM
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()


At the very bottom


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

More... (http://addons.oscommerce.com/info/6646)