first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
if (!class_exists('PayPal')) {
require_once 'class.PayPal.php';
}
/**
* Dependencies: `composer require paypal/paypal-checkout-sdk`
* enable PayPalCheckoutBundle (payments submodule Modules::SUB_PAYPAL_CHECKOUT)
* $cfg['Modules']['payments']['PayPalCheckout'] = [
* 'delivery_type_id' => 3,
* 'clientID' => 'clientID',
* 'secret' => 'secret',
* 'mode' => 'sandbox',
* ];.
*/
class PayPalCheckout extends PayPal
{
public static $name = 'PayPal Checkout platební brána';
public $template = 'payment.PayPal.tpl';
public $class = 'PayPalCheckout';
public $tp_id_payment;
public $method;
protected $pay_method = Payment::METHOD_ONLINE;
}