function _2checkout_post_url in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_2checkout/uc_2checkout.module \_2checkout_post_url()
1 call to _2checkout_post_url()
- uc_2checkout_form in payment/
uc_2checkout/ uc_2checkout.module
File
- payment/
uc_2checkout/ uc_2checkout.module, line 303 - Integrates 2Checkout.com's redirected payment service.
Code
function _2checkout_post_url($type) {
switch ($type) {
case 'single':
return 'https://www.2checkout.com/checkout/spurchase';
case 'multi':
default:
return 'https://www.2checkout.com/2co/buyer/purchase';
}
}