Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipdate v2.3 and MVS


Guest

Recommended Posts

I have MVS and PayPal WPP integrated in my site. I would love to integrate the Shipdate contribution, however, I am running into some confilcts with the MVS and perhaps the PayPal WPP modules. As it stands, I am getting a syntax error on my checkout_shipping page. The problem is occuring roughly between lines 228 and 265 (see code lines below). If anyone has these three contributions integrated and working, please help me out here.

 

if (isset($quote['error'])) {

tep_session_unregister('shipping');

} else {

if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) {

$shipping = array('id' => $shipping,

'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),

'cost' => $quote[0]['methods'][0]['cost']);

 

//---PayPal WPP Modification START ---//

if ($show_payment_page || !$ec_enabled) {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

} else {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));

}

//---PayPal WPP Modification END ---//

 

}

}

} else { tep_session_unregister('shipping');

}

 

//MVS Start

}

 

//---PayPal WPP Modification START ---//

if ($show_payment_page || !$ec_enabled) {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

} else {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));

}

//---PayPal WPP Modification END ---//

 

 

exit;

}

//MVS END

Link to comment
Share on other sites

I have MVS and PayPal WPP integrated in my site. I would love to integrate the Shipdate contribution, however, I am running into some confilcts with the MVS and perhaps the PayPal WPP modules. As it stands, I am getting a syntax error on my checkout_shipping page. The problem is occuring roughly between lines 228 and 265 (see code lines below). If anyone has these three contributions integrated and working, please help me out here.

 

if (isset($quote['error'])) {

tep_session_unregister('shipping');

} else {

if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) {

$shipping = array('id' => $shipping,

'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),

'cost' => $quote[0]['methods'][0]['cost']);

 

//---PayPal WPP Modification START ---//

if ($show_payment_page || !$ec_enabled) {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

} else {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));

}

//---PayPal WPP Modification END ---//

 

}

}

} else { tep_session_unregister('shipping');

}

 

//MVS Start

}

 

//---PayPal WPP Modification START ---//

if ($show_payment_page || !$ec_enabled) {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

} else {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));

}

//---PayPal WPP Modification END ---//

 

 

exit;

}

//MVS END

 

 

Nobody is using MVS and the Shipdate contribution together??? I thought this might be a tough one. I'm can't give up on this one, however. I really need this Shipdate contribution installed properly. Any support is greatly appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...