Plugin Directory

Changeset 2711190


Ignore:
Timestamp:
04/18/2022 07:05:37 PM (4 years ago)
Author:
idokd
Message:

Update to version 2.2.0 from GitHub

Location:
simple-payment
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simple-payment/tags/2.2.0/readme.txt

    r2711181 r2711190  
    55Requires at least: 4.6
    66Tested up to: 5.9.1
    7 Stable tag: 2.1.9
     7Stable tag: 2.2.0
    88Requires PHP: 5.4
    99License: GPLv2 or later
  • simple-payment/tags/2.2.0/simple-payment-plugin.php

    r2711181 r2711190  
    44 * Plugin URI: https://simple-payment.yalla-ya.com
    55 * Description: Simple Payment enables integration with multiple payment gateways, and customize multiple payment forms.
    6  * Version: 2.1.9
     6 * Version: 2.2.0
    77 * Author: Ido Kobelkowsky / yalla ya!
    88 * Author URI: https://github.com/idokd
  • simple-payment/tags/2.2.0/vendor/yalla-ya/simple-payment/Engines/iCount.php

    r2711181 r2711190  
    5858        $service = 'recurr';
    5959        $post[ 'items' ] = $this->items( $params );
    60         $doctype = $this->param( 'doc_type' );
    61         if (!$doctype || $doctype == 'none') return($params);
    62         $post[ 'doc_title' ] = $params[ SimplePayment::PRODUCT ];
    63         $post[ 'doctype' ] = $doctype;
     60        $post[ 'doctype' ] = $this->param( 'doc_type' );
    6461        $post[ 'currency' ] = $post['currency_code'];
    6562        $post[ 'issue_every' ] = $subscription;
     63
     64        // TODO: support: start_date, num_of_payments
     65        $post[ 'tax_exempt' ] = $this->param( 'doc_vat' ) == 'exempt';
     66        $post[ 'incvat' ] = $this->param( 'doc_vat' ) == 'include';
    6667        if ( isset( $params[ SimplePayment::LANGUAGE ] ) ) $post[ 'lang' ] = $params[ SimplePayment::LANGUAGE ];
    6768        if ( $this->param( 'email_document' ) ) {
  • simple-payment/trunk/readme.txt

    r2711181 r2711190  
    55Requires at least: 4.6
    66Tested up to: 5.9.1
    7 Stable tag: 2.1.9
     7Stable tag: 2.2.0
    88Requires PHP: 5.4
    99License: GPLv2 or later
  • simple-payment/trunk/simple-payment-plugin.php

    r2711181 r2711190  
    44 * Plugin URI: https://simple-payment.yalla-ya.com
    55 * Description: Simple Payment enables integration with multiple payment gateways, and customize multiple payment forms.
    6  * Version: 2.1.9
     6 * Version: 2.2.0
    77 * Author: Ido Kobelkowsky / yalla ya!
    88 * Author URI: https://github.com/idokd
  • simple-payment/trunk/vendor/yalla-ya/simple-payment/Engines/iCount.php

    r2711181 r2711190  
    5858        $service = 'recurr';
    5959        $post[ 'items' ] = $this->items( $params );
    60         $doctype = $this->param( 'doc_type' );
    61         if (!$doctype || $doctype == 'none') return($params);
    62         $post[ 'doc_title' ] = $params[ SimplePayment::PRODUCT ];
    63         $post[ 'doctype' ] = $doctype;
     60        $post[ 'doctype' ] = $this->param( 'doc_type' );
    6461        $post[ 'currency' ] = $post['currency_code'];
    6562        $post[ 'issue_every' ] = $subscription;
     63
     64        // TODO: support: start_date, num_of_payments
     65        $post[ 'tax_exempt' ] = $this->param( 'doc_vat' ) == 'exempt';
     66        $post[ 'incvat' ] = $this->param( 'doc_vat' ) == 'include';
    6667        if ( isset( $params[ SimplePayment::LANGUAGE ] ) ) $post[ 'lang' ] = $params[ SimplePayment::LANGUAGE ];
    6768        if ( $this->param( 'email_document' ) ) {
Note: See TracChangeset for help on using the changeset viewer.