Plugin Directory

Changeset 3439188


Ignore:
Timestamp:
01/14/2026 06:41:35 AM (3 months ago)
Author:
jamesdlow
Message:

2.6.8

  • Change from Virtuous refresh token to api key
Location:
gf-stripe-extensions
Files:
177 added
2 edited

Legend:

Unmodified
Added
Removed
  • gf-stripe-extensions/trunk/gf-stripe-extensions.php

    r3118791 r3439188  
    2424    public static $roles = null;
    2525    public static $paypaltoken = null;
    26     public static $virtuoustoken = null;
    2726    public static $microsofttoken = null;
    2827    public static $savetosent = 'default';
     
    619618        }
    620619    }
    621     public static function virtuous_token() {
    622         if (!self::$virtuoustoken) {
    623             self::require_http();
    624             $http = new HTTPRequest('https://api.virtuoussoftware.com/Token');
    625             $token = $http->Post(array('grant_type' => 'refresh_token', 'refresh_token' => self::get_option('virtuous-token')), true);
    626             $token = json_decode($token['body']);
    627             self::$virtuoustoken = $token->access_token;
    628         }
    629         return self::$virtuoustoken;
    630     }
    631620    public static function virtuous($uri, $paramsbody = array(), $method = 'GET', $cache = null) {
    632621        if ($cache) {
     
    638627        self::require_http();
    639628        $headerarray = array(
    640             'Authorization' => 'Bearer '.self::virtuous_token()
     629            'Authorization' => 'Bearer '.self::get_option('virtuous-token')
    641630        );
    642631        $http = new HTTPRequest('https://api.virtuoussoftware.com/api'.$uri);
  • gf-stripe-extensions/trunk/readme.txt

    r3118791 r3439188  
    44Tags: gravity, forms, gravity forms, gforms, queries, transactions, stripe, paypal, recurring, payment, applepay
    55Requires at least: 4.0.1
    6 Tested up to: 6.5.5
    7 Stable tag: 2.6.7
     6Tested up to: 6.9.0
     7Stable tag: trunk
    88License: MIT Licene
    99License URI: https://opensource.org/licenses/MIT
     
    3636
    3737== Changelog ==
     38
     39= 2.6.8 =
     40* Change from Virtuous refresh token to api key
    3841
    3942= 2.6.7 =
Note: See TracChangeset for help on using the changeset viewer.