mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Allowed checkout flow to be started without member
no-issue This will allow non-logged in members to start the stripe checkout flow, which will result in a webhook being sent
This commit is contained in:
parent
a6fa0bc043
commit
11e246a93a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Array.prototype.forEach.call(document.querySelectorAll('[data-members-plan]'), f
|
||||||
credentials: 'same-origin'
|
credentials: 'same-origin'
|
||||||
}).then(function (res) {
|
}).then(function (res) {
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
throw new Error('Could not get identity token');
|
return null;
|
||||||
}
|
}
|
||||||
return res.text();
|
return res.text();
|
||||||
}).then(function (identity) {
|
}).then(function (identity) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue