Plugin Directory

Changeset 2305229


Ignore:
Timestamp:
05/14/2020 10:13:02 PM (6 years ago)
Author:
wprubyplugins
Message:

pushing 1.0.2

Location:
wc-adyen-payment-gateway/trunk
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • wc-adyen-payment-gateway/trunk/adyen/class-pgawc-adyen-config.php

    r2260783 r2305229  
    5757     */
    5858    public function getApiKey() {
    59         return $this->api_key;
     59        return html_entity_decode($this->api_key);
    6060    }
    6161
     
    6666     */
    6767    public function setApiKey( $api_key ) {
    68         $this->api_key = $api_key;
     68        $this->api_key = trim($api_key);
    6969
    7070        return $this;
     
    8484     */
    8585    public function setMerchantCode( $merchant_code ) {
    86         $this->merchant_code = $merchant_code;
     86        $this->merchant_code = trim($merchant_code);
    8787
    8888        return $this;
     
    102102     */
    103103    public function setOriginKey( $origin_key ) {
    104         $this->origin_key = $origin_key;
     104        $this->origin_key = trim($origin_key);
    105105
    106106        return $this;
     
    138138     */
    139139    public function setHmacKey( $hmac_key ) {
    140         $this->hmac_key = $hmac_key;
     140        $this->hmac_key = trim($hmac_key);
    141141
    142142        return $this;
  • wc-adyen-payment-gateway/trunk/adyen/class-pgawc-adyen.php

    r2260783 r2305229  
    6565            $params["captureDelayHours"] = 0;
    6666        }
     67
     68        $params['applicationInfo'] = [
     69            'merchantApplication' =>    [
     70                'name'  =>  PGAWC_NAME,
     71                'version'  =>  PGAWC_VERSION,
     72            ],
     73            'externalPlatform'  =>      [
     74                'name'  =>  'WordPress',
     75                'version'  =>  get_bloginfo('version'),
     76                'integrator' => 'WPRuby',
     77            ],
     78        ];
    6779
    6880        return $service->payments( $params );
  • wc-adyen-payment-gateway/trunk/readme.txt

    r2275828 r2305229  
    55Requires at least: 4.0
    66Tested up to: 5.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    7777
    7878== Changelog ==
     79= 1.0.2 =
     80* Fixed: API Key was not decoded properly.
     81* Added: Integrator information to API request.
    7982
    8083= 1.0.1 =
  • wc-adyen-payment-gateway/trunk/woocommerce-adyen.php

    r2275828 r2305229  
    44 * Plugin URI:        https://wpruby.com/plugin/payment-gateway-for-adyen-and-woocommerce
    55 * Description:       Accept adyen payments on your WooCommerce shop
    6  * Version:           1.0.1
     6 * Version:           1.0.2
    77 * WC requires at least: 3.0
    8  * WC tested up to: 4.0
     8 * WC tested up to: 4.1
    99 * Author:            WPRuby
    1010 * Author URI:        https://wpruby.com
     
    2121define('PGAWC_ADYEN_DIR_URL', plugin_dir_url( __FILE__ ));
    2222define('PGAWC_ADYEN_DIR_PATH', plugin_dir_path( __FILE__ ));
     23define('PGAWC_VERSION', '1.0.2');
     24define('PGAWC_NAME', 'Payment Gateway for Adyen and WooCommerce');
     25
    2326
    2427require PGAWC_ADYEN_DIR_PATH . '/vendor/autoload.php';
Note: See TracChangeset for help on using the changeset viewer.