mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed stripe checkout not working on plan upgarde
no issue - Incorrectly passed plan name was causing bad stripe request
This commit is contained in:
parent
5caa8433d9
commit
fb13d12015
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ export default class AccountPlanPage extends React.Component {
|
|||
const subscriptionId = subscriptions[0].id;
|
||||
onAction('updateSubscription', {plan: confirmationPlan.name, subscriptionId, cancelAtPeriodEnd: false});
|
||||
} else {
|
||||
onAction('checkoutPlan', {plan: selectedPlan.name});
|
||||
onAction('checkoutPlan', {plan: selectedPlan});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue