|
|
|
|
@ -81,7 +81,6 @@ switch ($serviceSale['payment_type']) { |
|
|
|
|
RedirectToPayPal($expressCheckout['TOKEN']); |
|
|
|
|
break; |
|
|
|
|
case BuyCoursesPlugin::PAYMENT_TYPE_TRANSFER: |
|
|
|
|
|
|
|
|
|
$transferAccounts = $plugin->getTransferAccounts(); |
|
|
|
|
|
|
|
|
|
$form = new FormValidator('success', 'POST', api_get_self(), null, null, FormValidator::LAYOUT_INLINE); |
|
|
|
|
@ -161,7 +160,6 @@ switch ($serviceSale['payment_type']) { |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case BuyCoursesPlugin::PAYMENT_TYPE_CULQI: |
|
|
|
|
|
|
|
|
|
// We need to include the main online script, acording to the Culqi documentation the JS needs to be loeaded |
|
|
|
|
// directly from the main url "https://integ-pago.culqi.com" because a local copy of this JS is not supported |
|
|
|
|
$htmlHeadXtra[] = '<script src="//integ-pago.culqi.com/js/v1"></script>'; |
|
|
|
|
|