Payment link via stripe is wrong #332

This commit is contained in:
Hillel Coren 2021-09-17 08:46:38 +03:00
parent db88bae176
commit a93c62f7d7
1 changed files with 5 additions and 1 deletions

View File

@ -681,7 +681,11 @@ abstract class GatewayEntity extends Object
switch (gatewayId) { switch (gatewayId) {
case kGatewayStripe: case kGatewayStripe:
case kGatewayStripeConnect: case kGatewayStripeConnect:
return 'https://dashboard.stripe.com/payments/$transactionReference'; if (transactionReference.startsWith('src'))
return 'https://dashboard.stripe.com/sources/$transactionReference';
else
return 'https://dashboard.stripe.com/payments/$transactionReference';
break;
default: default:
return null; return null;
} }