remove inn and phne from payment creation
This commit is contained in:
parent
9d5dff68ab
commit
1a9729100f
@ -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),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user