Skip to content

Commit 8807e4c

Browse files
authored
Merge pull request #2890 from FromDoppler/no-task-set-payment-method
[no-task] - Set payment method when the user change payment method option
2 parents d38fa30 + 726ecb5 commit 8807e4c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/components/Plans/Checkout/Checkout.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ const Checkout = InjectAppServices(
308308
isEqualPlan={false}
309309
hidePromocode={true}
310310
buyType={BUY_LANDING_PACK}
311+
selectedPaymentMethod={selectedPaymentMethod}
311312
/>
312313
) : isBuyAddOnPlan ? (
313314
<ShoppingCart
@@ -331,6 +332,7 @@ const Checkout = InjectAppServices(
331332
selectedAddOnPlan={selectedAddOnPlan}
332333
canAddOnPlanRemove={false}
333334
addMarketingPlan={parseInt(buyType) === BUY_MARKETING_PLAN}
335+
selectedPaymentMethod={selectedPaymentMethod}
334336
/>
335337
) : (
336338
<ShoppingCart
@@ -355,6 +357,7 @@ const Checkout = InjectAppServices(
355357
buyType={parseInt(buyType)}
356358
addMarketingPlan={parseInt(buyType) === BUY_MARKETING_PLAN}
357359
hasChatActive={chat && chat.active}
360+
selectedPaymentMethod={selectedPaymentMethod}
358361
/>
359362
)}
360363
</div>

0 commit comments

Comments
 (0)