[accelerator] fix redirection link

This commit is contained in:
nymkappa 2024-03-21 19:08:48 +09:00
parent 8fee195577
commit 1eb52d8a35
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -304,7 +304,7 @@ export class AcceleratePreviewComponent implements OnDestroy, OnChanges {
}
});
this.cashAppPay = await this.payments.cashAppPay(paymentRequest, {
redirectURL: 'https://my.website/checkout',
redirectURL: `https://mempool.space/tx/${this.tx.txid}`,
referenceId: `accelerator-${this.tx.txid.substring(0, 15)}-${Math.round(new Date().getTime() / 1000)}`,
});
await this.cashAppPay.attach('#cash-app-pay');