Skip to content

Commit 934ab2c

Browse files
committed
Update plaid link js file
1 parent 96608d9 commit 934ab2c

5 files changed

+17
-18
lines changed

README.txt

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Plugin Name ===
22
Contributors: jwind
3-
Donate link: wp-stripe-plaid-ach-wordpress-plugin
3+
Donate link: https://wwww.justinwhall.com
44
Tags: Stripe, plaid, ACH, e-commerce, ecommerce, commerce, bank, bank account
55
Requires at least: 3.0.1
6-
Tested up to: 4.42
7-
Stable tag: 1.0.0
6+
Tested up to: 4.7
7+
Stable tag: 1.0.1
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -22,11 +22,7 @@ WordPress plugin that allows easy ACH bank transfer payments via Stripe + Plaid
2222

2323
== Frequently Asked Questions ==
2424

25-
= A question that someone might have =
2625

27-
An answer to that question.
28-
29-
= What about foo bar? =
3026

3127
Answer to foo bar dilemma.
3228

@@ -41,4 +37,7 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove
4137
== Changelog ==
4238

4339
= 1.0 =
44-
* A change since the previous version.
40+
* Initial release
41+
42+
= 1.0 =
43+
* Initial release

admin/class-wp-stripe-plaid-admin.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* The admin-specific functionality of the plugin.
55
*
66
* @link htps://www.justinwhall.com
7-
* @since 1.0.0
7+
* @since 1.0.1
88
*
99
* @package Wp_Stripe_Plaid
1010
* @subpackage Wp_Stripe_Plaid/admin
@@ -145,7 +145,7 @@ public function get_settings_fields() {
145145
),
146146
array(
147147
'name' => 'stripe_help',
148-
'desc' => __( 'Stripe keys are located: <a href="https://dashboard.stripe.com/account/apikeys">https://dashboard.stripe.com/account/apikeys</a>', $plugin_name ),
148+
'desc' => __( 'Stripe keys are located: <a target="_blank" href="https://dashboard.stripe.com/account/apikeys">https://dashboard.stripe.com/account/apikeys</a>', $plugin_name ),
149149
'type' => 'html'
150150
),
151151
array(
@@ -158,17 +158,17 @@ public function get_settings_fields() {
158158
'sanitize_callback' => 'sanitize_text_field'
159159
),
160160
array(
161-
'name' => 'plaid_secret',
162-
'label' => __( 'Plaid Secret', $plugin_name ),
161+
'name' => 'plaid_public_key',
162+
'label' => __( 'Plaid Public Key', $plugin_name ),
163163
'desc' => __( '', $plugin_name ),
164164
'placeholder' => __( '', $plugin_name ),
165165
'type' => 'text',
166166
'default' => '',
167167
'sanitize_callback' => 'sanitize_text_field'
168168
),
169169
array(
170-
'name' => 'plaid_public_key',
171-
'label' => __( 'Plaid Public Key', $plugin_name ),
170+
'name' => 'plaid_secret',
171+
'label' => __( 'Plaid Secret', $plugin_name ),
172172
'desc' => __( '', $plugin_name ),
173173
'placeholder' => __( '', $plugin_name ),
174174
'type' => 'text',
@@ -177,7 +177,7 @@ public function get_settings_fields() {
177177
),
178178
array(
179179
'name' => 'plaid_help',
180-
'desc' => __( 'Plaid keys are located: <a href="https://dashboard.plaid.com/account/keys">https://dashboard.plaid.com/account/keys</a>', $plugin_name ),
180+
'desc' => __( 'Plaid keys are located: <a target="_blank" href="https://dashboard.plaid.com/account/keys">https://dashboard.plaid.com/account/keys</a>', $plugin_name ),
181181
'type' => 'html'
182182
),
183183
array(

public/class-wp-stripe-plaid-public.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function enqueue_styles() {
9494
public function enqueue_scripts() {
9595

9696
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/wp-stripe-plaid-public.js', array( 'jquery', 'stripe_plaid' ), $this->version, true );
97-
wp_enqueue_script( 'stripe_plaid', 'https://cdn.plaid.com/link/stable/link-initialize.js', array(), null, true );
97+
wp_enqueue_script( 'stripe_plaid', 'https://cdn.plaid.com/link/v2/stable/link-initialize.js', array(), null, true );
9898
wp_localize_script($this->plugin_name, 'ajax_object', array( 'ajax_url' => admin_url('admin-ajax.php'), 'ajax_nonce' => wp_create_nonce('stripe_plaid_nonce') ) );
9999

100100
}

public/js/wp-stripe-plaid-public.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
success : function( data ){
5656
$('.sp-spinner').css('opacity', 0);
5757
if ( data.error ) {
58-
addError( 'There was an error proccesing you payment.' );
58+
addError( 'There was an error processing you payment.' );
5959
} else {
6060
$('#sc-form').fadeTo('fast', 0);
6161
$('#sp-response').show();

wp-stripe-plaid.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Plugin Name: ACH for Stripe + Plaid
1717
* Plugin URI: https://www.justinwhall.com/wp-stripe-plaid-ach-wordpress-plugin
1818
* Description: Accept Stripe ACH payments with Stripe + Plaid.
19-
* Version: 1.0.0
19+
* Version: 1.0.1
2020
* Author: Justin W Hall
2121
* Author URI: https://www.justinwhall.com
2222
* License: GPL-2.0+

0 commit comments

Comments
 (0)