Skip to content

Commit

Permalink
Merge pull request #2 from sumup/LAT-543/env-examples
Browse files Browse the repository at this point in the history
Environment variables examples
  • Loading branch information
yerkortiz committed Apr 12, 2023
2 parents 0601e30 + a55c030 commit 7c10657
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

.DS_Store
.env*
.env
tax-authority.pem

main
14 changes: 0 additions & 14 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions tax-authority.pem.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
crY+8xvJ/n2gx3

0 comments on commit 7c10657

Please sign in to comment.