Changeset 2305229
- Timestamp:
- 05/14/2020 10:13:02 PM (6 years ago)
- Location:
- wc-adyen-payment-gateway/trunk
- Files:
-
- 1 added
- 1 deleted
- 4 edited
-
adyen/class-pgawc-adyen-config.php (modified) (5 diffs)
-
adyen/class-pgawc-adyen.php (modified) (1 diff)
-
adyen/notifications/class-pgawc-capture-handler.php (added)
-
adyen/notifications/class-pgawc.capture-handler.php (deleted)
-
readme.txt (modified) (2 diffs)
-
woocommerce-adyen.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-adyen-payment-gateway/trunk/adyen/class-pgawc-adyen-config.php
r2260783 r2305229 57 57 */ 58 58 public function getApiKey() { 59 return $this->api_key;59 return html_entity_decode($this->api_key); 60 60 } 61 61 … … 66 66 */ 67 67 public function setApiKey( $api_key ) { 68 $this->api_key = $api_key;68 $this->api_key = trim($api_key); 69 69 70 70 return $this; … … 84 84 */ 85 85 public function setMerchantCode( $merchant_code ) { 86 $this->merchant_code = $merchant_code;86 $this->merchant_code = trim($merchant_code); 87 87 88 88 return $this; … … 102 102 */ 103 103 public function setOriginKey( $origin_key ) { 104 $this->origin_key = $origin_key;104 $this->origin_key = trim($origin_key); 105 105 106 106 return $this; … … 138 138 */ 139 139 public function setHmacKey( $hmac_key ) { 140 $this->hmac_key = $hmac_key;140 $this->hmac_key = trim($hmac_key); 141 141 142 142 return $this; -
wc-adyen-payment-gateway/trunk/adyen/class-pgawc-adyen.php
r2260783 r2305229 65 65 $params["captureDelayHours"] = 0; 66 66 } 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 ]; 67 79 68 80 return $service->payments( $params ); -
wc-adyen-payment-gateway/trunk/readme.txt
r2275828 r2305229 5 5 Requires at least: 4.0 6 6 Tested up to: 5.4 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 77 77 78 78 == Changelog == 79 = 1.0.2 = 80 * Fixed: API Key was not decoded properly. 81 * Added: Integrator information to API request. 79 82 80 83 = 1.0.1 = -
wc-adyen-payment-gateway/trunk/woocommerce-adyen.php
r2275828 r2305229 4 4 * Plugin URI: https://wpruby.com/plugin/payment-gateway-for-adyen-and-woocommerce 5 5 * Description: Accept adyen payments on your WooCommerce shop 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * WC requires at least: 3.0 8 * WC tested up to: 4. 08 * WC tested up to: 4.1 9 9 * Author: WPRuby 10 10 * Author URI: https://wpruby.com … … 21 21 define('PGAWC_ADYEN_DIR_URL', plugin_dir_url( __FILE__ )); 22 22 define('PGAWC_ADYEN_DIR_PATH', plugin_dir_path( __FILE__ )); 23 define('PGAWC_VERSION', '1.0.2'); 24 define('PGAWC_NAME', 'Payment Gateway for Adyen and WooCommerce'); 25 23 26 24 27 require PGAWC_ADYEN_DIR_PATH . '/vendor/autoload.php';
Note: See TracChangeset
for help on using the changeset viewer.