Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. // Checkout Settings
  2. $config_options[] = 'simpleCart({checkout: {';
  3. switch ($checkout_method) {
  4. case 'PayPal':
  5. $email = $com_params->get('paypal_email', false);
  6.  
  7. $config_options[] = ' type: "' . $checkout_method . '"';
  8. $config_options[] = ', success: "'.$returnURI.'"';
  9. $config_options[] = ', cancel: "'.$returnURI.'"';
  10. if ($email) $config_options[] = ', email: "' . $email . '"';
  11. if ($checkout_mode == 'sandbox') $config_options[] = ', sandbox: true';
  12. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement