Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Checkout Settings
- $config_options[] = 'simpleCart({checkout: {';
- switch ($checkout_method) {
- case 'PayPal':
- $email = $com_params->get('paypal_email', false);
- $config_options[] = ' type: "' . $checkout_method . '"';
- $config_options[] = ', success: "'.$returnURI.'"';
- $config_options[] = ', cancel: "'.$returnURI.'"';
- if ($email) $config_options[] = ', email: "' . $email . '"';
- if ($checkout_mode == 'sandbox') $config_options[] = ', sandbox: true';
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement