Version Description
Download this release
Release Info
Developer | dlocc |
Plugin | Give – Donation Plugin and Fundraising Platform |
Version | 2.5.10 |
Comparing to | |
See all releases |
Code changes from version 2.5.9 to 2.5.10
- give.php +2 -2
- includes/admin/emails/ajax-handler.php +5 -0
- includes/gateways/stripe/includes/admin/admin-actions.php +5 -1
- includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php +1 -1
- includes/gateways/stripe/includes/class-give-stripe-checkout-session.php +5 -0
- includes/gateways/stripe/includes/class-give-stripe-customer.php +89 -67
- includes/gateways/stripe/includes/class-give-stripe-payment-method.php +34 -0
- includes/gateways/stripe/includes/payment-methods/class-give-stripe-checkout.php +1 -2
- includes/misc-functions.php +3 -3
- languages/give.pot +33 -25
- readme.txt +10 -4
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
give.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
-
* Version: 2.5.
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
@@ -439,7 +439,7 @@ if ( ! class_exists( 'Give' ) ) :
|
|
439 |
|
440 |
// Plugin version.
|
441 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
442 |
-
define( 'GIVE_VERSION', '2.5.
|
443 |
}
|
444 |
|
445 |
// Plugin Root File.
|
5 |
* Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
|
6 |
* Author: GiveWP
|
7 |
* Author URI: https://givewp.com/
|
8 |
+
* Version: 2.5.10
|
9 |
* Text Domain: give
|
10 |
* Domain Path: /languages
|
11 |
*
|
439 |
|
440 |
// Plugin version.
|
441 |
if ( ! defined( 'GIVE_VERSION' ) ) {
|
442 |
+
define( 'GIVE_VERSION', '2.5.10' );
|
443 |
}
|
444 |
|
445 |
// Plugin Root File.
|
includes/admin/emails/ajax-handler.php
CHANGED
@@ -16,6 +16,11 @@
|
|
16 |
* @since 2.0
|
17 |
*/
|
18 |
function give_set_notification_status_handler() {
|
|
|
|
|
|
|
|
|
|
|
19 |
$notification_id = isset( $_POST['notification_id'] ) ? give_clean( $_POST['notification_id'] ) : '';
|
20 |
if ( ! empty( $notification_id ) && give_update_option( "{$notification_id}_notification", give_clean( $_POST['status'] ) ) ) {
|
21 |
wp_send_json_success();
|
16 |
* @since 2.0
|
17 |
*/
|
18 |
function give_set_notification_status_handler() {
|
19 |
+
// Is user have permission to edit give setting.
|
20 |
+
if ( ! current_user_can( 'manage_give_settings' ) ) {
|
21 |
+
return;
|
22 |
+
}
|
23 |
+
|
24 |
$notification_id = isset( $_POST['notification_id'] ) ? give_clean( $_POST['notification_id'] ) : '';
|
25 |
if ( ! empty( $notification_id ) && give_update_option( "{$notification_id}_notification", give_clean( $_POST['status'] ) ) ) {
|
26 |
wp_send_json_success();
|
includes/gateways/stripe/includes/admin/admin-actions.php
CHANGED
@@ -23,6 +23,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
* @return void
|
24 |
*/
|
25 |
function give_stripe_connect_save_options() {
|
|
|
|
|
|
|
|
|
26 |
|
27 |
$get_vars = give_clean( $_GET );
|
28 |
|
@@ -34,7 +38,7 @@ function give_stripe_connect_save_options() {
|
|
34 |
|| ! isset( $get_vars['stripe_access_token_test'] )
|
35 |
|| ! isset( $get_vars['connected'] )
|
36 |
) {
|
37 |
-
return
|
38 |
}
|
39 |
|
40 |
// Update keys.
|
23 |
* @return void
|
24 |
*/
|
25 |
function give_stripe_connect_save_options() {
|
26 |
+
// Is user have permission to edit give setting.
|
27 |
+
if ( ! current_user_can( 'manage_give_settings' ) ) {
|
28 |
+
return;
|
29 |
+
}
|
30 |
|
31 |
$get_vars = give_clean( $_GET );
|
32 |
|
38 |
|| ! isset( $get_vars['stripe_access_token_test'] )
|
39 |
|| ! isset( $get_vars['connected'] )
|
40 |
) {
|
41 |
+
return;
|
42 |
}
|
43 |
|
44 |
// Update keys.
|
includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php
CHANGED
@@ -253,7 +253,7 @@ if ( ! class_exists( 'Give_Stripe_Admin_Settings' ) ) {
|
|
253 |
|
254 |
$settings['credit-card'][] = array(
|
255 |
'name' => __( 'Credit Card Fields Format', 'give' ),
|
256 |
-
'desc' => __( 'This option
|
257 |
'id' => 'stripe_cc_fields_format',
|
258 |
'wrapper_class' => 'stripe-cc-field-format-settings',
|
259 |
'type' => 'radio_inline',
|
253 |
|
254 |
$settings['credit-card'][] = array(
|
255 |
'name' => __( 'Credit Card Fields Format', 'give' ),
|
256 |
+
'desc' => __( 'This option allows you to show single or multiple credit card fields on your donation forms.', 'give' ),
|
257 |
'id' => 'stripe_cc_fields_format',
|
258 |
'wrapper_class' => 'stripe-cc-field-format-settings',
|
259 |
'type' => 'radio_inline',
|
includes/gateways/stripe/includes/class-give-stripe-checkout-session.php
CHANGED
@@ -40,6 +40,11 @@ class Give_Stripe_Checkout_Session {
|
|
40 |
*/
|
41 |
$args = apply_filters( 'give_stripe_create_checkout_session_args', $args );
|
42 |
|
|
|
|
|
|
|
|
|
|
|
43 |
// Process Checkout session.
|
44 |
$session = \Stripe\Checkout\Session::create(
|
45 |
$args,
|
40 |
*/
|
41 |
$args = apply_filters( 'give_stripe_create_checkout_session_args', $args );
|
42 |
|
43 |
+
// Add application fee, if the Stripe premium add-on is not active.
|
44 |
+
if ( ! defined( 'GIVE_STRIPE_VERSION' ) ) {
|
45 |
+
$args['payment_intent_data']['application_fee_amount'] = give_stripe_get_application_fee_amount( $args['line_items'][0]['amount'] );
|
46 |
+
}
|
47 |
+
|
48 |
// Process Checkout session.
|
49 |
$session = \Stripe\Checkout\Session::create(
|
50 |
$args,
|
includes/gateways/stripe/includes/class-give-stripe-customer.php
CHANGED
@@ -218,6 +218,56 @@ class Give_Stripe_Customer {
|
|
218 |
|
219 |
}
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
/**
|
222 |
* Create a Customer in Stripe.
|
223 |
*
|
@@ -435,93 +485,65 @@ class Give_Stripe_Customer {
|
|
435 |
|
436 |
if ( ! empty( $this->payment_method_id ) && ! empty( $this->customer_data ) ) {
|
437 |
|
438 |
-
$
|
439 |
-
$
|
440 |
-
$
|
441 |
-
|
442 |
-
// Fetch the new card or source object to match with customer attached card fingerprint.
|
443 |
-
if ( give_stripe_is_source_type( $this->payment_method_id, 'tok' ) ) {
|
444 |
-
$token_details = $this->stripe_gateway->get_token_details( $this->payment_method_id );
|
445 |
-
$new_card = $token_details->card;
|
446 |
-
} elseif ( give_stripe_is_source_type( $this->payment_method_id, 'src' ) ) {
|
447 |
-
$source_details = $this->stripe_gateway->get_source_details( $this->payment_method_id );
|
448 |
-
$new_card = $source_details->card;
|
449 |
-
} elseif ( give_stripe_is_source_type( $this->payment_method_id, 'pm' ) ) {
|
450 |
-
$payment_method_details = $this->stripe_gateway->payment_method->retrieve( $this->payment_method_id );
|
451 |
-
$new_card = $payment_method_details->card;
|
452 |
-
}
|
453 |
|
454 |
/**
|
455 |
* This filter hook is used to get new card details.
|
456 |
*
|
457 |
* @since 2.5.0
|
458 |
*/
|
459 |
-
$
|
460 |
|
461 |
-
// Check to ensure that new card is already attached with customer or not.
|
462 |
-
if ( count( $
|
463 |
-
foreach ( $
|
464 |
|
465 |
-
|
|
|
|
|
|
|
466 |
|
467 |
-
if (
|
|
|
|
|
|
|
468 |
|
469 |
-
// Set the existing card
|
470 |
-
$this->
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
|
|
|
|
|
|
476 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
477 |
}
|
478 |
}
|
479 |
|
480 |
// Create the card, if none found above.
|
481 |
-
if ( ! $
|
482 |
-
try {
|
483 |
-
$customer_args = array();
|
484 |
|
485 |
-
|
486 |
-
|
487 |
-
$card = $this->customer_data->sources->create( $customer_args );
|
488 |
-
$this->customer_data->default_source = $card->id;
|
489 |
-
$this->customer_data->save();
|
490 |
-
} else {
|
491 |
-
|
492 |
-
$card = $this->stripe_gateway->payment_method->retrieve( $this->payment_method_id );
|
493 |
-
|
494 |
-
// If payment method is not attached to customer then attach it now.
|
495 |
-
if ( empty( $card->customer ) ) {
|
496 |
-
$card->attach(
|
497 |
-
array(
|
498 |
-
'customer' => $this->id,
|
499 |
-
)
|
500 |
-
);
|
501 |
-
}
|
502 |
-
}
|
503 |
-
|
504 |
-
} catch ( \Stripe\Error\Base $e ) {
|
505 |
-
|
506 |
-
Give_Stripe_Logger::log_error( $e, 'stripe' );
|
507 |
|
508 |
-
|
509 |
-
|
510 |
-
__( 'Stripe Error', 'give' ),
|
511 |
-
sprintf(
|
512 |
-
/* translators: %s Exception Message Body */
|
513 |
-
__( 'The Stripe Gateway returned an error while creating the customer. Details: %s', 'give' ),
|
514 |
-
$e->getMessage()
|
515 |
-
)
|
516 |
-
);
|
517 |
-
give_set_error( 'stripe_error', __( 'An occurred while processing the donation with the gateway. Please try your donation again.', 'give' ) );
|
518 |
-
give_send_back_to_checkout( '?payment-mode=stripe' );
|
519 |
-
}
|
520 |
}
|
521 |
|
522 |
// Return Card Details, if exists.
|
523 |
-
if ( ! empty( $
|
524 |
-
$this->attached_payment_method = $
|
525 |
} else {
|
526 |
|
527 |
give_set_error( 'stripe_error', __( 'An error occurred while processing the donation. Please try again.', 'give' ) );
|
218 |
|
219 |
}
|
220 |
|
221 |
+
/**
|
222 |
+
* This function is used to update the customer records in Stripe.
|
223 |
+
*
|
224 |
+
* @param string $id Customer ID provided by Stripe.
|
225 |
+
* @param array $args List of arguments to update customer details.
|
226 |
+
*
|
227 |
+
* @since 2.5.10
|
228 |
+
*
|
229 |
+
* @return bool|\Stripe\Customer
|
230 |
+
*/
|
231 |
+
public function update_customer( $id, $args ) {
|
232 |
+
|
233 |
+
give_stripe_set_app_info();
|
234 |
+
|
235 |
+
$customer = false;
|
236 |
+
|
237 |
+
try {
|
238 |
+
$customer = \Stripe\Customer::update( $id, $args );
|
239 |
+
} catch( Exception $e ) {
|
240 |
+
// Record Log.
|
241 |
+
give_stripe_record_log(
|
242 |
+
__( 'Stripe - Customer Update Error', 'give' ),
|
243 |
+
$e->getMessage()
|
244 |
+
);
|
245 |
+
}
|
246 |
+
|
247 |
+
return $customer;
|
248 |
+
}
|
249 |
+
|
250 |
+
/**
|
251 |
+
* This function is used to set the payment method as default.
|
252 |
+
*
|
253 |
+
* @param string $id Payment Method ID provided by Stripe.
|
254 |
+
* @param string $customer_id Customer ID provided by Stripe.
|
255 |
+
*
|
256 |
+
* @since 2.5.10
|
257 |
+
*
|
258 |
+
* @return \Stripe\Customer
|
259 |
+
*/
|
260 |
+
public function set_default_payment_method( $id, $customer_id ) {
|
261 |
+
|
262 |
+
$update_args = array(
|
263 |
+
'invoice_settings' => array(
|
264 |
+
'default_payment_method' => $id,
|
265 |
+
),
|
266 |
+
);
|
267 |
+
|
268 |
+
return $this->update_customer( $customer_id, $update_args );
|
269 |
+
}
|
270 |
+
|
271 |
/**
|
272 |
* Create a Customer in Stripe.
|
273 |
*
|
485 |
|
486 |
if ( ! empty( $this->payment_method_id ) && ! empty( $this->customer_data ) ) {
|
487 |
|
488 |
+
$payment_method = '';
|
489 |
+
$payment_methods = $this->stripe_gateway->payment_method->list_all( $this->id ); // All payment methods.
|
490 |
+
$new_payment_method = $this->stripe_gateway->payment_method->retrieve( $this->payment_method_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
|
492 |
/**
|
493 |
* This filter hook is used to get new card details.
|
494 |
*
|
495 |
* @since 2.5.0
|
496 |
*/
|
497 |
+
$new_payment_method = apply_filters( 'give_stripe_get_new_card_details', $new_payment_method, $this->payment_method_id, $this->stripe_gateway );
|
498 |
|
499 |
+
// Check to ensure that new card is already attached with customer's payment methods or not.
|
500 |
+
if ( count( $payment_methods->data ) > 0 ) {
|
501 |
+
foreach ( $payment_methods->data as $card_details ) {
|
502 |
|
503 |
+
// If fingerprint of new and existing payment method doesn't match then continue to next iteration.
|
504 |
+
if ( $card_details->card->fingerprint !== $new_payment_method->card->fingerprint ) {
|
505 |
+
continue;
|
506 |
+
}
|
507 |
|
508 |
+
if (
|
509 |
+
$card_details->card->exp_month !== $new_payment_method->card->exp_month ||
|
510 |
+
$card_details->card->exp_year !== $new_payment_method->card->exp_year
|
511 |
+
) {
|
512 |
|
513 |
+
// Set updated expiry date to the existing card.
|
514 |
+
$this->stripe_gateway->payment_method->update(
|
515 |
+
$card_details->id,
|
516 |
+
array(
|
517 |
+
'card' => array(
|
518 |
+
'exp_month' => $new_payment_method->card->exp_month,
|
519 |
+
'exp_year' => $new_payment_method->card->exp_year,
|
520 |
+
),
|
521 |
+
)
|
522 |
+
);
|
523 |
}
|
524 |
+
|
525 |
+
// Set existing card as default payment method.
|
526 |
+
$this->set_default_payment_method( $card_details->id, $this->id );
|
527 |
+
|
528 |
+
$payment_method = $card_details;
|
529 |
+
$this->is_card_exists = true;
|
530 |
+
|
531 |
}
|
532 |
}
|
533 |
|
534 |
// Create the card, if none found above.
|
535 |
+
if ( ! $this->is_card_exists ) {
|
|
|
|
|
536 |
|
537 |
+
// Set new card as default payment method.
|
538 |
+
$this->set_default_payment_method( $this->payment_method_id, $this->id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
|
540 |
+
// Assign the new payment method.
|
541 |
+
$payment_method = $new_payment_method;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
}
|
543 |
|
544 |
// Return Card Details, if exists.
|
545 |
+
if ( ! empty( $payment_method->id ) ) {
|
546 |
+
$this->attached_payment_method = $payment_method;
|
547 |
} else {
|
548 |
|
549 |
give_set_error( 'stripe_error', __( 'An error occurred while processing the donation. Please try again.', 'give' ) );
|
includes/gateways/stripe/includes/class-give-stripe-payment-method.php
CHANGED
@@ -90,6 +90,40 @@ if ( ! class_exists( 'Give_Stripe_Payment_Method' ) ) {
|
|
90 |
return $payment_method_details;
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
/**
|
94 |
* Fetch all payment methods of the customer.
|
95 |
*
|
90 |
return $payment_method_details;
|
91 |
}
|
92 |
|
93 |
+
/**
|
94 |
+
* This function is used to update existing payment method.
|
95 |
+
*
|
96 |
+
* @param string $id Payment Method ID of Stripe.
|
97 |
+
* @param array $args List of arguments to update.
|
98 |
+
*
|
99 |
+
* @since 2.5.10
|
100 |
+
*
|
101 |
+
* @return bool|\Stripe\PaymentMethod
|
102 |
+
*/
|
103 |
+
public function update( $id, $args ) {
|
104 |
+
|
105 |
+
give_stripe_set_app_info();
|
106 |
+
|
107 |
+
$payment_method = false;
|
108 |
+
|
109 |
+
try {
|
110 |
+
$payment_method = \Stripe\PaymentMethod::update( $id, $args, give_stripe_get_connected_account_options() );
|
111 |
+
} catch( Exception $e ) {
|
112 |
+
give_record_gateway_error(
|
113 |
+
__( 'Stripe Payment Method Error', 'give' ),
|
114 |
+
sprintf(
|
115 |
+
/* translators: %s Exception Message Body */
|
116 |
+
__( 'The Stripe Gateway returned an error while updating the payment method of the customer. Details: %s', 'give' ),
|
117 |
+
$e->getMessage()
|
118 |
+
)
|
119 |
+
);
|
120 |
+
give_set_error( 'stripe_error', __( 'An occurred while retrieving the payment method of the customer. Please try again.', 'give' ) );
|
121 |
+
give_send_back_to_checkout( '?payment-mode=' . give_clean( $_GET['payment-mode']) );
|
122 |
+
}
|
123 |
+
|
124 |
+
return $payment_method;
|
125 |
+
}
|
126 |
+
|
127 |
/**
|
128 |
* Fetch all payment methods of the customer.
|
129 |
*
|
includes/gateways/stripe/includes/payment-methods/class-give-stripe-checkout.php
CHANGED
@@ -276,7 +276,6 @@ if ( ! class_exists( 'Give_Stripe_Checkout' ) ) {
|
|
276 |
),
|
277 |
),
|
278 |
'payment_intent_data' => [
|
279 |
-
'application_fee_amount' => give_stripe_get_application_fee_amount( $amount ),
|
280 |
'capture_method' => 'automatic',
|
281 |
'description' => $donation_summary,
|
282 |
'metadata' => $this->prepare_metadata( $donation_id ),
|
@@ -289,7 +288,7 @@ if ( ! class_exists( 'Give_Stripe_Checkout' ) ) {
|
|
289 |
|
290 |
// If featured image exists, then add it to checkout session.
|
291 |
if ( ! empty( get_the_post_thumbnail( $form_id ) ) ) {
|
292 |
-
$session_args['line_items']['images'] =
|
293 |
}
|
294 |
|
295 |
// Create Checkout Session.
|
276 |
),
|
277 |
),
|
278 |
'payment_intent_data' => [
|
|
|
279 |
'capture_method' => 'automatic',
|
280 |
'description' => $donation_summary,
|
281 |
'metadata' => $this->prepare_metadata( $donation_id ),
|
288 |
|
289 |
// If featured image exists, then add it to checkout session.
|
290 |
if ( ! empty( get_the_post_thumbnail( $form_id ) ) ) {
|
291 |
+
$session_args['line_items'][0]['images'] = array( get_the_post_thumbnail_url( $form_id ) );
|
292 |
}
|
293 |
|
294 |
// Create Checkout Session.
|
includes/misc-functions.php
CHANGED
@@ -2159,7 +2159,7 @@ function give_get_receipt_link( $donation_id ) {
|
|
2159 |
*/
|
2160 |
function give_get_receipt_url( $donation_id ) {
|
2161 |
|
2162 |
-
$receipt_url =
|
2163 |
add_query_arg(
|
2164 |
array(
|
2165 |
'donation_id' => $donation_id,
|
@@ -2183,7 +2183,7 @@ function give_get_view_receipt_link( $donation_id ) {
|
|
2183 |
|
2184 |
return sprintf(
|
2185 |
'<a href="%1$s">%2$s</a>',
|
2186 |
-
|
2187 |
esc_html__( 'View the receipt in your browser »', 'give' )
|
2188 |
);
|
2189 |
|
@@ -2199,7 +2199,7 @@ function give_get_view_receipt_link( $donation_id ) {
|
|
2199 |
*/
|
2200 |
function give_get_view_receipt_url( $donation_id ) {
|
2201 |
|
2202 |
-
$receipt_url =
|
2203 |
add_query_arg(
|
2204 |
array(
|
2205 |
'action' => 'view_in_browser',
|
2159 |
*/
|
2160 |
function give_get_receipt_url( $donation_id ) {
|
2161 |
|
2162 |
+
$receipt_url = esc_url_raw(
|
2163 |
add_query_arg(
|
2164 |
array(
|
2165 |
'donation_id' => $donation_id,
|
2183 |
|
2184 |
return sprintf(
|
2185 |
'<a href="%1$s">%2$s</a>',
|
2186 |
+
give_get_view_receipt_url( $donation_id ),
|
2187 |
esc_html__( 'View the receipt in your browser »', 'give' )
|
2188 |
);
|
2189 |
|
2199 |
*/
|
2200 |
function give_get_view_receipt_url( $donation_id ) {
|
2201 |
|
2202 |
+
$receipt_url = esc_url_raw(
|
2203 |
add_query_arg(
|
2204 |
array(
|
2205 |
'action' => 'view_in_browser',
|
languages/give.pot
CHANGED
@@ -523,7 +523,7 @@ msgstr ""
|
|
523 |
msgid "Ok"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: includes/class-give-scripts.php:280, includes/class-notices.php:632, includes/formatting.php:755, includes/api/class-give-api.php:1872, includes/api/class-give-api.php:1878, includes/api/class-give-api.php:1893, includes/api/class-give-api.php:1898, includes/forms/functions.php:330, includes/gateways/manual.php:38, includes/admin/donors/donor-actions.php:31, includes/admin/donors/donor-actions.php:52, includes/admin/donors/donor-actions.php:187, includes/admin/donors/donor-actions.php:201, includes/admin/donors/donor-actions.php:270, includes/admin/donors/donor-actions.php:284, includes/admin/donors/donor-actions.php:371, includes/admin/donors/donor-actions.php:467, includes/admin/donors/donor-actions.php:514, includes/admin/donors/donor-actions.php:558, includes/admin/emails/class-donation-receipt-email.php:299, includes/admin/forms/dashboard-columns.php:266, includes/admin/payments/actions.php:31, includes/admin/payments/actions.php:87, includes/admin/payments/actions.php:100, includes/admin/payments/actions.php:379, includes/admin/payments/actions.php:399, includes/admin/payments/actions.php:457, includes/admin/payments/actions.php:479, includes/admin/payments/view-payment-details.php:19, includes/admin/payments/view-payment-details.php:32, includes/admin/payments/view-payment-details.php:42, includes/admin/reports/reports.php:143, includes/admin/upgrades/upgrade-functions.php:502, includes/admin/tools/data/class-give-tools-delete-donations.php:156, includes/admin/tools/data/class-give-tools-delete-import-donors.php:309, includes/admin/tools/data/class-give-tools-delete-test-donors.php:248, includes/admin/tools/data/class-give-tools-delete-test-transactions.php:129, includes/admin/tools/data/class-give-tools-recount-all-stats.php:248, includes/admin/tools/data/class-give-tools-recount-donor-stats.php:204, includes/admin/tools/data/class-give-tools-recount-form-stats.php:204, includes/admin/tools/data/class-give-tools-recount-income.php:177, includes/admin/tools/data/class-give-tools-recount-single-donor-stats.php:160, includes/admin/tools/data/class-give-tools-reset-stats.php:241, includes/admin/tools/export/class-batch-export.php:145, includes/admin/tools/export/class-core-settings-export.php:81, includes/admin/tools/export/class-export.php:185, includes/admin/tools/export/export-actions.php:26, includes/admin/tools/export/pdf-reports.php:31, includes/admin/tools/export/pdf-reports.php:35, includes/admin/tools/export/pdf-reports.php:39, includes/admin/tools/logs/class-api-requests-logs-list-table.php:154, includes/admin/tools/logs/class-gateway-error-logs-list-table.php:136, includes/gateways/stripe/includes/admin/admin-actions.php:
|
527 |
msgid "Error"
|
528 |
msgstr ""
|
529 |
|
@@ -13121,45 +13121,48 @@ msgstr ""
|
|
13121 |
msgid "Credit card fields are disabled because your site is not running securely over HTTPS."
|
13122 |
msgstr ""
|
13123 |
|
13124 |
-
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:
|
13125 |
msgid "Stripe Error"
|
13126 |
msgstr ""
|
13127 |
|
13128 |
#. translators: %s Exception Message Body
|
13129 |
-
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:
|
13130 |
msgid "The Stripe Gateway returned an error while creating the Checkout Session. Details: %s"
|
13131 |
msgstr ""
|
13132 |
|
13133 |
-
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:
|
13134 |
msgid "An occurred while processing the donation with the gateway. Please try your donation again."
|
13135 |
msgstr ""
|
13136 |
|
13137 |
#. translators: %s Exception Message Body
|
13138 |
-
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:
|
13139 |
msgid "The Stripe Gateway returned an error while retrieving the Checkout Session. Details: %s"
|
13140 |
msgstr ""
|
13141 |
|
13142 |
-
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:190, includes/gateways/stripe/includes/class-give-stripe-customer.php:
|
13143 |
msgid "Stripe - Customer Creation Error"
|
13144 |
msgstr ""
|
13145 |
|
|
|
|
|
|
|
|
|
13146 |
#. translators: %s Site URL
|
13147 |
-
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:
|
13148 |
msgid "Stripe Customer generated by GiveWP via %s"
|
13149 |
msgstr ""
|
13150 |
|
13151 |
#. translators: %s Exception Message Body
|
13152 |
#. translators: %s Exception Message Body
|
13153 |
-
|
13154 |
-
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:310, includes/gateways/stripe/includes/class-give-stripe-customer.php:404, includes/gateways/stripe/includes/class-give-stripe-customer.php:513
|
13155 |
msgid "The Stripe Gateway returned an error while creating the customer. Details: %s"
|
13156 |
msgstr ""
|
13157 |
|
13158 |
-
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:
|
13159 |
msgid "An error occurred while processing the donation. Please try again."
|
13160 |
msgstr ""
|
13161 |
|
13162 |
-
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:
|
13163 |
msgid "An error occurred retrieving or creating the "
|
13164 |
msgstr ""
|
13165 |
|
@@ -13206,13 +13209,13 @@ msgstr ""
|
|
13206 |
|
13207 |
#. translators: %s Exception Message
|
13208 |
#. translators: 1. Error Message
|
13209 |
-
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:399, includes/gateways/stripe/includes/class-give-stripe-logger.php:61, includes/gateways/stripe/includes/admin/admin-actions.php:
|
13210 |
msgid "Message: %s"
|
13211 |
msgstr ""
|
13212 |
|
13213 |
#. translators: %s Trace String
|
13214 |
#. translators: 1. Error Code
|
13215 |
-
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:408, includes/gateways/stripe/includes/class-give-stripe-logger.php:67, includes/gateways/stripe/includes/admin/admin-actions.php:
|
13216 |
msgid "Code: %s"
|
13217 |
msgstr ""
|
13218 |
|
@@ -13333,7 +13336,7 @@ msgstr ""
|
|
13333 |
msgid "Error updating payment intent with Stripe. Please try again."
|
13334 |
msgstr ""
|
13335 |
|
13336 |
-
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:46, includes/gateways/stripe/includes/class-give-stripe-payment-method.php:78, includes/gateways/stripe/includes/class-give-stripe-payment-method.php:
|
13337 |
msgid "Stripe Payment Method Error"
|
13338 |
msgstr ""
|
13339 |
|
@@ -13351,16 +13354,21 @@ msgstr ""
|
|
13351 |
msgid "The Stripe Gateway returned an error while retrieving the payment method of the customer. Details: %s"
|
13352 |
msgstr ""
|
13353 |
|
13354 |
-
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:85
|
13355 |
msgid "An occurred while retrieving the payment method of the customer. Please try again."
|
13356 |
msgstr ""
|
13357 |
|
13358 |
#. translators: %s Exception Message Body
|
13359 |
-
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:
|
|
|
|
|
|
|
|
|
|
|
13360 |
msgid "The Stripe Gateway returned an error while fetching the list of payment methods of the customer. Details: %s"
|
13361 |
msgstr ""
|
13362 |
|
13363 |
-
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:
|
13364 |
msgid "An occurred while fetching the list of payment methods of the customer. Please try again."
|
13365 |
msgstr ""
|
13366 |
|
@@ -13435,33 +13443,33 @@ msgid "Donation Processing..."
|
|
13435 |
msgstr ""
|
13436 |
|
13437 |
#. translators: %s Error Message
|
13438 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13439 |
msgid "<strong>Error:</strong> GiveWP could not disconnect from the Stripe API. Reason: %s"
|
13440 |
msgstr ""
|
13441 |
|
13442 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13443 |
msgid "Refund Charge in Stripe?"
|
13444 |
msgstr ""
|
13445 |
|
13446 |
#. translators: 1. Refund ID
|
13447 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13448 |
msgid "Charge refunded in Stripe: %s"
|
13449 |
msgstr ""
|
13450 |
|
13451 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13452 |
msgid "The Stripe payment gateway returned an error while refunding a donation."
|
13453 |
msgstr ""
|
13454 |
|
13455 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13456 |
msgid "Something went wrong while refunding the charge in Stripe."
|
13457 |
msgstr ""
|
13458 |
|
13459 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13460 |
msgid "The Stripe gateway is enabled but you're not connected. Connect to Stripe to start accepting credit card donations directly on your website."
|
13461 |
msgstr ""
|
13462 |
|
13463 |
#. translators: 1. Main Text, 2. Connect Link
|
13464 |
-
#: includes/gateways/stripe/includes/admin/admin-actions.php:
|
13465 |
msgid "<p><strong>Stripe Connect:</strong> %1$s </p>%2$s"
|
13466 |
msgstr ""
|
13467 |
|
@@ -13519,7 +13527,7 @@ msgid "Credit Card Fields Format"
|
|
13519 |
msgstr ""
|
13520 |
|
13521 |
#: includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:256
|
13522 |
-
msgid "This option
|
13523 |
msgstr ""
|
13524 |
|
13525 |
#: includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:262
|
523 |
msgid "Ok"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: includes/class-give-scripts.php:280, includes/class-notices.php:632, includes/formatting.php:755, includes/api/class-give-api.php:1872, includes/api/class-give-api.php:1878, includes/api/class-give-api.php:1893, includes/api/class-give-api.php:1898, includes/forms/functions.php:330, includes/gateways/manual.php:38, includes/admin/donors/donor-actions.php:31, includes/admin/donors/donor-actions.php:52, includes/admin/donors/donor-actions.php:187, includes/admin/donors/donor-actions.php:201, includes/admin/donors/donor-actions.php:270, includes/admin/donors/donor-actions.php:284, includes/admin/donors/donor-actions.php:371, includes/admin/donors/donor-actions.php:467, includes/admin/donors/donor-actions.php:514, includes/admin/donors/donor-actions.php:558, includes/admin/emails/class-donation-receipt-email.php:299, includes/admin/forms/dashboard-columns.php:266, includes/admin/payments/actions.php:31, includes/admin/payments/actions.php:87, includes/admin/payments/actions.php:100, includes/admin/payments/actions.php:379, includes/admin/payments/actions.php:399, includes/admin/payments/actions.php:457, includes/admin/payments/actions.php:479, includes/admin/payments/view-payment-details.php:19, includes/admin/payments/view-payment-details.php:32, includes/admin/payments/view-payment-details.php:42, includes/admin/reports/reports.php:143, includes/admin/upgrades/upgrade-functions.php:502, includes/admin/tools/data/class-give-tools-delete-donations.php:156, includes/admin/tools/data/class-give-tools-delete-import-donors.php:309, includes/admin/tools/data/class-give-tools-delete-test-donors.php:248, includes/admin/tools/data/class-give-tools-delete-test-transactions.php:129, includes/admin/tools/data/class-give-tools-recount-all-stats.php:248, includes/admin/tools/data/class-give-tools-recount-donor-stats.php:204, includes/admin/tools/data/class-give-tools-recount-form-stats.php:204, includes/admin/tools/data/class-give-tools-recount-income.php:177, includes/admin/tools/data/class-give-tools-recount-single-donor-stats.php:160, includes/admin/tools/data/class-give-tools-reset-stats.php:241, includes/admin/tools/export/class-batch-export.php:145, includes/admin/tools/export/class-core-settings-export.php:81, includes/admin/tools/export/class-export.php:185, includes/admin/tools/export/export-actions.php:26, includes/admin/tools/export/pdf-reports.php:31, includes/admin/tools/export/pdf-reports.php:35, includes/admin/tools/export/pdf-reports.php:39, includes/admin/tools/logs/class-api-requests-logs-list-table.php:154, includes/admin/tools/logs/class-gateway-error-logs-list-table.php:136, includes/gateways/stripe/includes/admin/admin-actions.php:209, includes/gateways/stripe/includes/admin/class-give-stripe-logs-list-table.php:87
|
527 |
msgid "Error"
|
528 |
msgstr ""
|
529 |
|
13121 |
msgid "Credit card fields are disabled because your site is not running securely over HTTPS."
|
13122 |
msgstr ""
|
13123 |
|
13124 |
+
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:60, includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:100, includes/gateways/stripe/includes/class-give-stripe-customer.php:357, includes/gateways/stripe/includes/class-give-stripe-customer.php:451, includes/gateways/stripe/includes/class-give-stripe-customer.php:469, includes/gateways/stripe/includes/class-give-stripe-customer.php:550, includes/gateways/stripe/includes/class-give-stripe-gateway.php:127, includes/gateways/stripe/includes/class-give-stripe-gateway.php:262, includes/gateways/stripe/includes/class-give-stripe-gateway.php:340, includes/gateways/stripe/includes/class-give-stripe-gateway.php:419, includes/gateways/stripe/includes/class-give-stripe-logger.php:77, includes/gateways/stripe/includes/class-give-stripe-webhooks.php:168, includes/gateways/stripe/includes/give-stripe-helpers.php:536, includes/gateways/stripe/includes/give-stripe-helpers.php:634, includes/gateways/stripe/includes/give-stripe-helpers.php:799, includes/gateways/stripe/includes/admin/admin-actions.php:195, includes/gateways/stripe/includes/payment-methods/class-give-stripe-card.php:80
|
13125 |
msgid "Stripe Error"
|
13126 |
msgstr ""
|
13127 |
|
13128 |
#. translators: %s Exception Message Body
|
13129 |
+
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:63
|
13130 |
msgid "The Stripe Gateway returned an error while creating the Checkout Session. Details: %s"
|
13131 |
msgstr ""
|
13132 |
|
13133 |
+
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:67, includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:107, includes/gateways/stripe/includes/class-give-stripe-customer.php:364, includes/gateways/stripe/includes/class-give-stripe-customer.php:458, includes/gateways/stripe/includes/payment-methods/class-give-stripe-card.php:87
|
13134 |
msgid "An occurred while processing the donation with the gateway. Please try your donation again."
|
13135 |
msgstr ""
|
13136 |
|
13137 |
#. translators: %s Exception Message Body
|
13138 |
+
#: includes/gateways/stripe/includes/class-give-stripe-checkout-session.php:103
|
13139 |
msgid "The Stripe Gateway returned an error while retrieving the Checkout Session. Details: %s"
|
13140 |
msgstr ""
|
13141 |
|
13142 |
+
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:190, includes/gateways/stripe/includes/class-give-stripe-customer.php:351
|
13143 |
msgid "Stripe - Customer Creation Error"
|
13144 |
msgstr ""
|
13145 |
|
13146 |
+
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:242
|
13147 |
+
msgid "Stripe - Customer Update Error"
|
13148 |
+
msgstr ""
|
13149 |
+
|
13150 |
#. translators: %s Site URL
|
13151 |
+
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:327
|
13152 |
msgid "Stripe Customer generated by GiveWP via %s"
|
13153 |
msgstr ""
|
13154 |
|
13155 |
#. translators: %s Exception Message Body
|
13156 |
#. translators: %s Exception Message Body
|
13157 |
+
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:360, includes/gateways/stripe/includes/class-give-stripe-customer.php:454
|
|
|
13158 |
msgid "The Stripe Gateway returned an error while creating the customer. Details: %s"
|
13159 |
msgstr ""
|
13160 |
|
13161 |
+
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:468, includes/gateways/stripe/includes/class-give-stripe-customer.php:549, includes/gateways/stripe/includes/class-give-stripe-gateway.php:134, includes/gateways/stripe/includes/class-give-stripe-gateway.php:189, includes/gateways/stripe/includes/class-give-stripe-gateway.php:229, includes/gateways/stripe/includes/class-give-stripe-gateway.php:269, includes/gateways/stripe/includes/class-give-stripe-gateway.php:339, includes/gateways/stripe/includes/give-stripe-helpers.php:641
|
13162 |
msgid "An error occurred while processing the donation. Please try again."
|
13163 |
msgstr ""
|
13164 |
|
13165 |
+
#: includes/gateways/stripe/includes/class-give-stripe-customer.php:469, includes/gateways/stripe/includes/class-give-stripe-customer.php:550, includes/gateways/stripe/includes/class-give-stripe-gateway.php:340
|
13166 |
msgid "An error occurred retrieving or creating the "
|
13167 |
msgstr ""
|
13168 |
|
13209 |
|
13210 |
#. translators: %s Exception Message
|
13211 |
#. translators: 1. Error Message
|
13212 |
+
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:399, includes/gateways/stripe/includes/class-give-stripe-logger.php:61, includes/gateways/stripe/includes/admin/admin-actions.php:191
|
13213 |
msgid "Message: %s"
|
13214 |
msgstr ""
|
13215 |
|
13216 |
#. translators: %s Trace String
|
13217 |
#. translators: 1. Error Code
|
13218 |
+
#: includes/gateways/stripe/includes/class-give-stripe-gateway.php:408, includes/gateways/stripe/includes/class-give-stripe-logger.php:67, includes/gateways/stripe/includes/admin/admin-actions.php:192
|
13219 |
msgid "Code: %s"
|
13220 |
msgstr ""
|
13221 |
|
13336 |
msgid "Error updating payment intent with Stripe. Please try again."
|
13337 |
msgstr ""
|
13338 |
|
13339 |
+
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:46, includes/gateways/stripe/includes/class-give-stripe-payment-method.php:78, includes/gateways/stripe/includes/class-give-stripe-payment-method.php:113, includes/gateways/stripe/includes/class-give-stripe-payment-method.php:154
|
13340 |
msgid "Stripe Payment Method Error"
|
13341 |
msgstr ""
|
13342 |
|
13354 |
msgid "The Stripe Gateway returned an error while retrieving the payment method of the customer. Details: %s"
|
13355 |
msgstr ""
|
13356 |
|
13357 |
+
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:85, includes/gateways/stripe/includes/class-give-stripe-payment-method.php:120
|
13358 |
msgid "An occurred while retrieving the payment method of the customer. Please try again."
|
13359 |
msgstr ""
|
13360 |
|
13361 |
#. translators: %s Exception Message Body
|
13362 |
+
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:116
|
13363 |
+
msgid "The Stripe Gateway returned an error while updating the payment method of the customer. Details: %s"
|
13364 |
+
msgstr ""
|
13365 |
+
|
13366 |
+
#. translators: %s Exception Message Body
|
13367 |
+
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:157
|
13368 |
msgid "The Stripe Gateway returned an error while fetching the list of payment methods of the customer. Details: %s"
|
13369 |
msgstr ""
|
13370 |
|
13371 |
+
#: includes/gateways/stripe/includes/class-give-stripe-payment-method.php:161
|
13372 |
msgid "An occurred while fetching the list of payment methods of the customer. Please try again."
|
13373 |
msgstr ""
|
13374 |
|
13443 |
msgstr ""
|
13444 |
|
13445 |
#. translators: %s Error Message
|
13446 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:79
|
13447 |
msgid "<strong>Error:</strong> GiveWP could not disconnect from the Stripe API. Reason: %s"
|
13448 |
msgstr ""
|
13449 |
|
13450 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:116
|
13451 |
msgid "Refund Charge in Stripe?"
|
13452 |
msgstr ""
|
13453 |
|
13454 |
#. translators: 1. Refund ID
|
13455 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:183
|
13456 |
msgid "Charge refunded in Stripe: %s"
|
13457 |
msgstr ""
|
13458 |
|
13459 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:190
|
13460 |
msgid "The Stripe payment gateway returned an error while refunding a donation."
|
13461 |
msgstr ""
|
13462 |
|
13463 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:206
|
13464 |
msgid "Something went wrong while refunding the charge in Stripe."
|
13465 |
msgstr ""
|
13466 |
|
13467 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:287
|
13468 |
msgid "The Stripe gateway is enabled but you're not connected. Connect to Stripe to start accepting credit card donations directly on your website."
|
13469 |
msgstr ""
|
13470 |
|
13471 |
#. translators: 1. Main Text, 2. Connect Link
|
13472 |
+
#: includes/gateways/stripe/includes/admin/admin-actions.php:300
|
13473 |
msgid "<p><strong>Stripe Connect:</strong> %1$s </p>%2$s"
|
13474 |
msgstr ""
|
13475 |
|
13527 |
msgstr ""
|
13528 |
|
13529 |
#: includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:256
|
13530 |
+
msgid "This option allows you to show single or multiple credit card fields on your donation forms."
|
13531 |
msgstr ""
|
13532 |
|
13533 |
#: includes/gateways/stripe/includes/admin/class-give-stripe-admin-settings.php:262
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: givewp, dlocc, webdevmattcrom, ravinderk, mehul0810, kevinwhoffman
|
|
3 |
Donate link: https://givewp.com/
|
4 |
Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, give, wp donation, ecommerce, e-commerce, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, commerce, wordpress ecommerce, giving, charity, donate, gifts, non-profit, paypal, stripe, churches, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations
|
5 |
Requires at least: 4.8
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.5.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -50,7 +50,7 @@ Find out more:
|
|
50 |
|
51 |
= Who Uses GiveWP? =
|
52 |
|
53 |
-
With more than
|
54 |
|
55 |
= Why Use GiveWP for Donations? =
|
56 |
|
@@ -223,13 +223,19 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
= 2.5.9: October 15th, 2019 =
|
227 |
* New: Added a new filter `give_donation_form_submit_button_text` for developers. Thanks @mcdonagg! [#4269](https://github.com/impress-org/givewp/issues/4269)
|
228 |
* Fix: Resolved an edge case update conflict with Stripe and Recurring which could cause a fatal error for some installs. [#4272](https://github.com/impress-org/givewp/issues/4272)
|
229 |
* Fix: Corrected an edge case issue with Stripe Credit Card fields not appearing properly after updating. [#4274](https://github.com/impress-org/givewp/issues/4274)
|
230 |
* Fix: Improved the layout of the Stripe Connect banner for smaller screens. [#4259](https://github.com/impress-org/givewp/issues/4259)
|
231 |
* Fix: Removed space in link to Stripe's webhook documentation. [#4266](https://github.com/impress-org/givewp/issues/4266)
|
232 |
-
* Fix: Resolved typos in GitHub's readme.md
|
233 |
|
234 |
= 2.5.8: September 26th, 2019 =
|
235 |
* Fix: Resolved an upgrade issue for customers who had enabled the Stripe Credit Card option in GiveWP 2.5.4 and below and Stripe 2.2.0 and below. After upgrading existing donors were not able to change their credit card info and new donors were not able make donations. [#4260](https://github.com/impress-org/givewp/issues/4260)
|
3 |
Donate link: https://givewp.com/
|
4 |
Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, give, wp donation, ecommerce, e-commerce, fundraising, fundraiser, crowdfunding, wordpress donations, gutenberg, gutenberg donations, commerce, wordpress ecommerce, giving, charity, donate, gifts, non-profit, paypal, stripe, churches, nonprofit, paypal donations, paypal donate, stripe donations, stripe donate, authorize.net, authorize.net donations
|
5 |
Requires at least: 4.8
|
6 |
+
Tested up to: 5.3
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.5.10
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
50 |
|
51 |
= Who Uses GiveWP? =
|
52 |
|
53 |
+
With more than 70,000+ active installs of GiveWP, we hear more and more success stories from nonprofit organizations using GiveWP. Causes are using GiveWP to raise millions of dollars per year. Check out some of our [GiveWP Stories](http://bit.ly/WPORGGiveStories) and [Case Studies](http://bit.ly/WPORGGiveCaseStudies) for details about their success.
|
54 |
|
55 |
= Why Use GiveWP for Donations? =
|
56 |
|
223 |
|
224 |
== Changelog ==
|
225 |
|
226 |
+
= 2.5.10: October 28th, 2019 =
|
227 |
+
* Fix: Resolved an issue with Stripe Checkout 2.0 and featured images not properly displaying for certain WP installs. [#4281](https://github.com/impress-org/givewp/issues/4281)
|
228 |
+
* Fix: Optimized and resolved a number of scenarios regarding donors updating credit cards with the Stripe payment gateway. Now when comparing the card's fingerprint the plugin also checks the expiration date and CVC and updates the card in Stripe if it has changed. [#4280](https://github.com/impress-org/givewp/issues/4280)
|
229 |
+
* Fix: The Stripe 2% application fee is not ever charged with the new Checkout 2.0 if you are using the Premium gateway add-on. [#4287](https://github.com/impress-org/givewp/issues/4287)
|
230 |
+
* Fix: Resolved an issue with the `{receipt_link_url}` not working when using the plain text email option. [#4284](https://github.com/impress-org/givewp/issues/4284)
|
231 |
+
|
232 |
= 2.5.9: October 15th, 2019 =
|
233 |
* New: Added a new filter `give_donation_form_submit_button_text` for developers. Thanks @mcdonagg! [#4269](https://github.com/impress-org/givewp/issues/4269)
|
234 |
* Fix: Resolved an edge case update conflict with Stripe and Recurring which could cause a fatal error for some installs. [#4272](https://github.com/impress-org/givewp/issues/4272)
|
235 |
* Fix: Corrected an edge case issue with Stripe Credit Card fields not appearing properly after updating. [#4274](https://github.com/impress-org/givewp/issues/4274)
|
236 |
* Fix: Improved the layout of the Stripe Connect banner for smaller screens. [#4259](https://github.com/impress-org/givewp/issues/4259)
|
237 |
* Fix: Removed space in link to Stripe's webhook documentation. [#4266](https://github.com/impress-org/givewp/issues/4266)
|
238 |
+
* Fix: Resolved typos in GitHub's readme.md documentation. [#4268](https://github.com/impress-org/givewp/issues/4268)
|
239 |
|
240 |
= 2.5.8: September 26th, 2019 =
|
241 |
* Fix: Resolved an upgrade issue for customers who had enabled the Stripe Credit Card option in GiveWP 2.5.4 and below and Stripe 2.2.0 and below. After upgrading existing donors were not able to change their credit card info and new donors were not able make donations. [#4260](https://github.com/impress-org/givewp/issues/4260)
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit839052a724b0b847e05c635c214ca221::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit6e331a4b06328342eee52d6d9e0d13e3
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit839052a724b0b847e05c635c214ca221
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit839052a724b0b847e05c635c214ca221', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit839052a724b0b847e05c635c214ca221', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit839052a724b0b847e05c635c214ca221::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
@@ -48,9 +48,9 @@ class ComposerStaticInit6e331a4b06328342eee52d6d9e0d13e3
|
|
48 |
public static function getInitializer(ClassLoader $loader)
|
49 |
{
|
50 |
return \Closure::bind(function () use ($loader) {
|
51 |
-
$loader->prefixLengthsPsr4 =
|
52 |
-
$loader->prefixDirsPsr4 =
|
53 |
-
$loader->classMap =
|
54 |
|
55 |
}, null, ClassLoader::class);
|
56 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit839052a724b0b847e05c635c214ca221
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
48 |
public static function getInitializer(ClassLoader $loader)
|
49 |
{
|
50 |
return \Closure::bind(function () use ($loader) {
|
51 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit839052a724b0b847e05c635c214ca221::$prefixLengthsPsr4;
|
52 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit839052a724b0b847e05c635c214ca221::$prefixDirsPsr4;
|
53 |
+
$loader->classMap = ComposerStaticInit839052a724b0b847e05c635c214ca221::$classMap;
|
54 |
|
55 |
}, null, ClassLoader::class);
|
56 |
}
|