@miden-npm/angular 2.0.8 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -503,7 +503,7 @@ const getBaseUrl = (mode, caller) => {
|
|
|
503
503
|
}
|
|
504
504
|
else if (mode === 'prod') {
|
|
505
505
|
return caller === 'buzapay'
|
|
506
|
-
? 'https://
|
|
506
|
+
? 'https://api.buzapay.com/payment-gateway-api'
|
|
507
507
|
: 'https://sandbox-api.midencards.io/miden-web';
|
|
508
508
|
}
|
|
509
509
|
return '';
|
|
@@ -2249,7 +2249,7 @@ class PayByCardComponent {
|
|
|
2249
2249
|
processedResponse.transactionReference.trim() !== '') {
|
|
2250
2250
|
this.paymentAuthorized.emit({
|
|
2251
2251
|
paymentId: processedResponse.transactionReference,
|
|
2252
|
-
paymentDate: response.data.updatedAt,
|
|
2252
|
+
paymentDate: response.data.updatedAt ?? new Date().toISOString(),
|
|
2253
2253
|
paymentStatus: 'authorized',
|
|
2254
2254
|
message: this.message,
|
|
2255
2255
|
});
|