From 1a9729100fe0b4026674d55133694b75c32e48c8 Mon Sep 17 00:00:00 2001 From: skeris Date: Mon, 21 Oct 2024 01:51:31 +0300 Subject: [PATCH] remove inn and phne from payment creation --- internal/interface/controller/grpc/payment.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/internal/interface/controller/grpc/payment.go b/internal/interface/controller/grpc/payment.go index f86f938..5684eeb 100644 --- a/internal/interface/controller/grpc/payment.go +++ b/internal/interface/controller/grpc/payment.go @@ -55,9 +55,7 @@ func (receiver *PaymentController) GetPaymentLinkBankCard(ctx context.Context, i TaxSystemCode: 2, Customer: yandex.Customer{ FullName: in.MainSettings.Customer.FullName, - INN: in.MainSettings.Customer.INN, Email: in.MainSettings.Customer.Email, - Phone: in.MainSettings.Customer.Phone, }, Items: utils.ProtoItems2ReceiptItems(in.MainSettings.Items), @@ -84,9 +82,7 @@ func (receiver *PaymentController) GetPaymentLinkYooMoney(ctx context.Context, i TaxSystemCode: 2, Customer: yandex.Customer{ FullName: in.MainSettings.Customer.FullName, - INN: in.MainSettings.Customer.INN, Email: in.MainSettings.Customer.Email, - Phone: in.MainSettings.Customer.Phone, }, Items: utils.ProtoItems2ReceiptItems(in.MainSettings.Items), @@ -113,9 +109,7 @@ func (receiver *PaymentController) GetPaymentLinkTinkoff(ctx context.Context, in TaxSystemCode: 2, Customer: yandex.Customer{ FullName: in.MainSettings.Customer.FullName, - INN: in.MainSettings.Customer.INN, Email: in.MainSettings.Customer.Email, - Phone: in.MainSettings.Customer.Phone, }, Items: utils.ProtoItems2ReceiptItems(in.MainSettings.Items), @@ -142,9 +136,7 @@ func (receiver *PaymentController) GetPaymentLinkSBP(ctx context.Context, in *tr TaxSystemCode: 2, Customer: yandex.Customer{ FullName: in.MainSettings.Customer.FullName, - INN: in.MainSettings.Customer.INN, Email: in.MainSettings.Customer.Email, - Phone: in.MainSettings.Customer.Phone, }, Items: utils.ProtoItems2ReceiptItems(in.MainSettings.Items), @@ -171,9 +163,7 @@ func (receiver *PaymentController) GetPaymentLinkSberPay(ctx context.Context, in TaxSystemCode: 2, Customer: yandex.Customer{ FullName: in.MainSettings.Customer.FullName, - INN: in.MainSettings.Customer.INN, Email: in.MainSettings.Customer.Email, - Phone: in.MainSettings.Customer.Phone, }, Items: utils.ProtoItems2ReceiptItems(in.MainSettings.Items), @@ -200,9 +190,7 @@ func (receiver *PaymentController) GetPaymentLinkSberbankB2B(ctx context.Context TaxSystemCode: 2, Customer: yandex.Customer{ FullName: in.MainSettings.Customer.FullName, - INN: in.MainSettings.Customer.INN, Email: in.MainSettings.Customer.Email, - Phone: in.MainSettings.Customer.Phone, }, Items: utils.ProtoItems2ReceiptItems(in.MainSettings.Items),