From a55c0305d18cffc32b81ee61dd902393f7464b18 Mon Sep 17 00:00:00 2001 From: yerkortiz Date: Wed, 12 Apr 2023 16:31:25 -0400 Subject: [PATCH] env examples --- .env.example | 6 ++++++ .gitignore | 2 +- main.go | 14 -------------- tax-authority.pem.example | 1 + 4 files changed, 8 insertions(+), 15 deletions(-) create mode 100644 .env.example create mode 100644 tax-authority.pem.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..39d0ff9 --- /dev/null +++ b/.env.example @@ -0,0 +1,6 @@ +TAX_AUTHORITY_SUMUP_RUT_BASE=1 +TAX_AUTHORITY_SUMUP_RUT_VD=1 +TAX_AUTHORITY_CHILE_URL=https://example.cl +TAX_AUTHORITY_CHILE_AUTH_URL=https://example.cl +TAX_AUTHORITY_SUMUP_CERTIFICATE_MODULUS=aa:bb:cc +TAX_AUTHORITY_SUMUP_CERTIFICATE_EXPONENT=3 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 005688e..4e78ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ .DS_Store -.env* +.env tax-authority.pem main diff --git a/main.go b/main.go index 950bcb9..2a52d65 100644 --- a/main.go +++ b/main.go @@ -65,26 +65,16 @@ func GenerateBatches() [][]entities.Batch { VatID: "65537690-9", // valid rut Day: "2023-04-10", DocumentType: "48", -<<<<<<< HEAD - Channel: "1", // 1 for cnp - Amount: 40202, - NTransactions: 10, -======= Channel: "0", // 0 for cnp Amount: 500, NTransactions: 2, ->>>>>>> b546f5fab07b75535d5acc71d5c2ca8157d78048 ExternalTrackID: "0", }, { VatID: "39020493-0", // valid rut Day: "2023-04-10", DocumentType: "48", -<<<<<<< HEAD - Channel: "1", // 1 for cnp -======= Channel: "0", // 0 for cnp ->>>>>>> b546f5fab07b75535d5acc71d5c2ca8157d78048 Amount: 500, NTransactions: 2, ExternalTrackID: "0", @@ -115,11 +105,7 @@ func GenerateBatches() [][]entities.Batch { VatID: "85445473-0", // valid rut Day: "2023-04-10", DocumentType: "48", -<<<<<<< HEAD - Channel: "1", // 1 for cnp -======= Channel: "0", // 0 for cnp ->>>>>>> b546f5fab07b75535d5acc71d5c2ca8157d78048 Amount: 0, NTransactions: 1, ExternalTrackID: "0", diff --git a/tax-authority.pem.example b/tax-authority.pem.example new file mode 100644 index 0000000..bd05b6a --- /dev/null +++ b/tax-authority.pem.example @@ -0,0 +1 @@ +crY+8xvJ/n2gx3 \ No newline at end of file