PluginProbe
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More / 2.4.1
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More v2.4.1
2.4.1 2.4.0 2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 trunk 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 All 68 releases
← All changes | includes/Blocks/BlockActions.php +2 -0 2.4.0 → 2.4.1 View file →
@@ -298,8 +298,10 @@
298 298 'source' => 'paypal',
299 299 'amount_quantity' => ! empty( $primary_payment_amount_quantity ) ? intval( $primary_payment_amount_quantity ) : '',
300 300 'detailed_product_info' => maybe_serialize( $detailed_product_info ),
301 301 'paypal_business_email' => sanitize_email( $el_settings['better_payment_paypal_business_email'] ),
302 + // The PayPal environment the order was sent to; the IPN must come from the same one.
303 + 'paypal_mode' => 'yes' === $el_settings['better_payment_paypal_live_mode'] ? 'live' : 'sandbox',
302 304 // Persisted so the async PayPal IPN can rebuild the e-mail body + on/off toggle.
303 305 'email_settings' => Handler::extract_email_settings( $el_settings ),
304 306 );
305 307