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/Classes/Actions.php +2 -0 2.4.0 → 2.4.1 View file →
@@ -136,8 +136,10 @@
136 136 'source' => 'paypal',
137 137 'amount_quantity' => ! empty( $primary_payment_amount_quantity ) ? intval( $primary_payment_amount_quantity ) : '',
138 138 'detailed_product_info' => maybe_serialize( $detailed_product_info ),
139 139 'paypal_business_email' => sanitize_email( $el_settings['better_payment_paypal_business_email'] ),
140 + // The PayPal environment the order was sent to; the IPN must come from the same one.
141 + 'paypal_mode' => 'yes' === $el_settings['better_payment_paypal_live_mode'] ? 'live' : 'sandbox',
140 142 // Persisted so the async PayPal IPN can rebuild the e-mail body + on/off toggle.
141 143 'email_settings' => Handler::extract_email_settings( $el_settings ),
142 144 ];
143 145