← All changes
|
app/Modules/PaymentMethods/PayPalGateway/SubscriptionManager.php
+4
-0
1.6.2
→
1.7.1
View file →
| @@ -133,8 +133,12 @@ | ||
| 133 | 133 | wp_send_json([ |
| 134 | 134 | 'status' => 'success', |
| 135 | 135 | 'message' => __('Plan created successfully', 'fluent-cart'), |
| 136 | 136 | 'plan' => $plan, |
| 137 | + 'brand_name' => (new PayPalSettingsBase())->getBrandName([ | |
| 138 | + 'order' => $order, | |
| 139 | + 'subscription' => $subscriptionModel, | |
| 140 | + ]), | |
| 137 | 141 | ], 200); |
| 138 | 142 | } |
| 139 | 143 | |
| 140 | 144 | public function confirmSubscriptionSwitch($data, $subscriptionId) |