Compare commits

..

6 Commits

Author SHA1 Message Date
khwezi 8e81e0c0be Merge pull request 'Updated scheduler events' (#30) from payments into master
Reviewed-on: #30
2026-06-13 16:37:06 +02:00
Khwezi Mngoma c801901930 Updated scheduler events
continuous-integration/drone/pr Build is passing
2026-06-13 16:36:37 +02:00
khwezi 7a0f8d96cc Merge pull request 'Refactored valid payfast host list' (#29) from payments into master
Reviewed-on: #29
2026-06-13 12:12:45 +02:00
Khwezi Mngoma 496f728670 Refactored valid payfast host list
continuous-integration/drone/pr Build is passing
2026-06-13 12:11:20 +02:00
khwezi 81fb246ec6 Merge pull request 'Updated library references and configs' (#28) from payments into master
Reviewed-on: #28
2026-06-13 10:57:09 +02:00
Khwezi Mngoma 1710806038 Updated library references and configs
continuous-integration/drone/pr Build is passing
2026-06-13 10:56:38 +02:00
4 changed files with 38 additions and 13 deletions
@@ -8,8 +8,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="LiteCharms.Features.MidrandBooks" Version="1.82.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<PackageReference Include="LiteCharms.Features.MidrandBooks" Version="1.120.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.9" />
<PackageReference Include="Mediator.SourceGenerator" Version="3.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -18,7 +18,7 @@
<!-- Lite Charms Libraries -->
<ItemGroup>
<PackageReference Include="LiteCharms.Features" Version="1.82.0" />
<PackageReference Include="LiteCharms.Features" Version="1.120.0" />
</ItemGroup>
<!-- Shared Global Usings -->
+2
View File
@@ -14,7 +14,9 @@ builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineB
builder.Services.AddEmailServices(builder.Configuration);
builder.Services.AddEmailServiceBus();
builder.Services.AddHttpClient();
builder.Services.AddShopServices();
builder.Services.AddPayfastServices(builder.Configuration);
builder.Services.AddHashServices(builder.Configuration);
builder.Services.AddMidrandShopDatabase(builder.Configuration);
+12
View File
@@ -1,4 +1,16 @@
{
"PayfastSettings": {
"CheckoutUrl": "https://sandbox.payfast.co.za/eng/process",
"ValidHosts": [
"www.payfast.co.za",
"sandbox.payfast.co.za",
"w1w.payfast.co.za",
"w2w.payfast.co.za",
"ips.payfast.co.za",
"api.payfast.co.za",
"payment.payfast.io"
]
},
"HasherSettings": {
"MinHashLength": 11
},
+21 -10
View File
@@ -23,13 +23,12 @@ data:
BookshopS3Settings__Region: "garage"
BookshopS3Settings__BucketName: "bookshop"
BookshopS3Settings__CdnBaseUrl: "https://bookshop.cdn.khongisa.co.za"
ValidPayfastHosts__0: "www.payfast.co.za"
ValidPayfastHosts__1: "sandbox.payfast.co.za"
ValidPayfastHosts__2: "w1w.payfast.co.za"
ValidPayfastHosts__3: "w2w.payfast.co.za"
ValidPayfastHosts__4: "ips.payfast.co.za"
ValidPayfastHosts__5: "api.payfast.co.za"
ValidPayfastHosts__6: "payment.payfast.io"
PayfastSettings__CheckoutUrl: "https://sandbox.payfast.co.za/eng/process"
PayfastSettings__ValidHosts__0: "www.payfast.co.za"
PayfastSettings__ValidHosts__1: "sandbox.payfast.co.za"
PayfastSettings__ValidHosts__2: "ips.payfast.co.za"
PayfastSettings__ValidHosts__3: "api.payfast.co.za"
PayfastSettings__ValidHosts__4: "payment.payfast.io"
---
apiVersion: v1
kind: Secret
@@ -44,9 +43,11 @@ data:
aspire-apikey: bWMzRzYzSzJqNVpPRXNpMEFqTW9qTFRYbTFLRVpGY3R6SUlqU3dEaVRHdXQ4cUdTa1B1V3d4R1AxUmJzY0pVbw==
email-password: JFpTLWVJQGlYbTVNUCRhfg==
hasher-salt: VEdsbmFIUWdRMmhoY20xekxDQk5hV1J5WVc1a1FtOXZhM01nYldGclpTQnNiM1J6SUc5bUlHMXZibVY1SUdGdVpDQmhjbVVnWVNCemRXTmpaWE56Wm5Wc0lIWnBjbUZzSUhOMGIzSjVJR2x1SUZOdmRYUm9JRUZtY21sallRPT0=
hasher-payfastpassphrase: OUdBSVIwdFdwaFgwcU8=
bookshop-s3-accesskey: R0s1MTRkMmNlOGRjNjkyMzdhMDVjMDFlZWY=
bookshop-s3-secretkey: ZWFhZmVkYTFhZWQ0MDllY2ZlNjA3MTRlY2RhNTQ5YjgyYmRmNWEzZGFmOWYxOGRkNjFmNjZiNDk3M2E2NDgyZQ==
payfast-passphrase: OUdBSVIwdFdwaFgwcU8=
payfast-merchantid: MTAwNDkzMDc=
payfast-merchantkey: anU2bmF2bjBqY2JmMA==
---
apiVersion: v1
kind: Service
@@ -107,11 +108,21 @@ spec:
secretKeyRef:
name: scheduler-secrets
key: hasher-salt
- name: HasherSettings__PayfastPassphrase
- name: PayfastSettings__Passphrase
valueFrom:
secretKeyRef:
name: scheduler-secrets
key: hasher-payfastpassphrase
key: payfast-passphrase
- name: PayfastSettings__MerchantId
valueFrom:
secretKeyRef:
name: scheduler-secrets
key: payfast-merchantid
- name: PayfastSettings__MerchantKey
valueFrom:
secretKeyRef:
name: scheduler-secrets
key: payfast-merchantkey
- name: ConnectionStrings__PostgresMidrandBooks
valueFrom:
secretKeyRef: