diff --git a/backend/src/services/PaymentGatewayServices/EfiServices.ts b/backend/src/services/PaymentGatewayServices/EfiServices.ts index b246e74..52867d6 100644 --- a/backend/src/services/PaymentGatewayServices/EfiServices.ts +++ b/backend/src/services/PaymentGatewayServices/EfiServices.ts @@ -277,6 +277,7 @@ export const efiCreateSubscription = async ( const efiPay = new EfiPay(efiOptions); const pix = await efiPay.pixCreateImmediateCharge([], body); await invoice.update({ + value: price, txId: pix.txid, payGw: "efi", payGwData: JSON.stringify(pix) diff --git a/backend/src/services/PaymentGatewayServices/OwenServices.ts b/backend/src/services/PaymentGatewayServices/OwenServices.ts index 11fd2d3..59b304f 100644 --- a/backend/src/services/PaymentGatewayServices/OwenServices.ts +++ b/backend/src/services/PaymentGatewayServices/OwenServices.ts @@ -202,6 +202,7 @@ export const owenCreateSubscription = async ( qrData ); invoice.update({ + value: price, txId: qrResult.data.data.qrcodeId, payGw: "owen", payGwData: JSON.stringify(qrResult.data.data)