token
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
This commit is contained in:
parent
1aa0c5dc9d
commit
df2f5d5740
1 changed files with 3 additions and 3 deletions
|
|
@ -280,10 +280,10 @@ class PaymentManager {
|
|||
|
||||
if (rustorePurchaseResponse?.invoiceStatus.name == 'paid') {
|
||||
// Find payment id by productId or use subscriptionToken
|
||||
final paymentId = payment.externalToken ?? subscriptionToken;
|
||||
if (paymentId.isNotEmpty) {
|
||||
final token = payment.externalToken ?? subscriptionToken;
|
||||
if (token.isNotEmpty) {
|
||||
await _db.paymentDao.updatePaymentStatus(
|
||||
paymentId,
|
||||
token,
|
||||
PaymentStatus.succeeded.name,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue