Skip to content

Commit eb8ab34

Browse files
Upgrade uses checkout page
1 parent 1f18179 commit eb8ab34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plus/gk/account/subscriptionService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,16 +747,16 @@ export class SubscriptionService implements Disposable {
747747
this.showPlans(source);
748748
} else {
749749
const activeOrgId = this._subscription.activeOrganization?.id;
750-
const query = `source=gitlens${activeOrgId != null ? `&org=${activeOrgId}` : ''}`;
750+
const query = `source=gitlens&product=gitlens${activeOrgId != null ? `&org=${activeOrgId}` : ''}`;
751751
try {
752752
const token = await this.container.accountAuthentication.getExchangeToken(
753753
SubscriptionUpdatedUriPathPrefix,
754754
);
755-
const purchasePath = `purchase?${query}`;
755+
const purchasePath = `purchase/checkout?${query}`;
756756
void openUrl(this.container.getGkDevExchangeUri(token, purchasePath).toString(true));
757757
} catch (ex) {
758758
Logger.error(ex, scope);
759-
void env.openExternal(this.container.getGkDevUri('purchase', query));
759+
void env.openExternal(this.container.getGkDevUri('purchase/checkout', query));
760760
}
761761

762762
take(

0 commit comments

Comments
 (0)