Change confirm expand client request to hit a separate endpoint from self hosted purchases confirm.
Этот коммит содержится в:
@@ -3899,7 +3899,7 @@ export default class Client4 {
|
|||||||
|
|
||||||
confirmSelfHostedExpansion = (setupIntentId: string, expandRequest: SelfHostedExpansionRequest) => {
|
confirmSelfHostedExpansion = (setupIntentId: string, expandRequest: SelfHostedExpansionRequest) => {
|
||||||
return this.doFetch<SelfHostedSignupSuccessResponse>(
|
return this.doFetch<SelfHostedSignupSuccessResponse>(
|
||||||
`${this.getHostedCustomerRoute()}/confirm?expand=true`,
|
`${this.getHostedCustomerRoute()}/confirm-expand`,
|
||||||
{method: 'post', body: JSON.stringify({stripe_setup_intent_id: setupIntentId, expand_request: expandRequest})},
|
{method: 'post', body: JSON.stringify({stripe_setup_intent_id: setupIntentId, expand_request: expandRequest})},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user