Payment link via stripe is wrong #332
This commit is contained in:
parent
db88bae176
commit
a93c62f7d7
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue