Checkout: only customer fields on order updates, verified PayPal capture, safe logging #6

Merged
libretech merged 16 commits from fix/paypal-request-logging into main 2026-10-15 10:23:04 +02:00
2 changed files with 15 additions and 0 deletions
Showing only changes of commit 2bbffeed2d - Show all commits

No files matched your search

@@ -83,6 +83,18 @@
"paymentStatus": {
"type": "string"
},
"paypalOrderId": {
"type": "string",
"private": true
},
"paypalCaptureId": {
"type": "string",
"private": true
},
"paymentCapturedAt": {
"type": "datetime",
"private": true
},
"emailSent": {
"type": "boolean",
"default": false
+3
View File
@@ -389,7 +389,10 @@ export interface ApiOrderOrder extends Schema.CollectionType {
invoiceSent: Attribute.Boolean & Attribute.DefaultTo<false>;
payment: Attribute.Relation<"api::order.order", "oneToOne", "api::payment.payment">;
paymentAuthorised: Attribute.Boolean & Attribute.DefaultTo<false>;
paymentCapturedAt: Attribute.DateTime & Attribute.Private;
paymentStatus: Attribute.String;
paypalCaptureId: Attribute.String & Attribute.Private;
paypalOrderId: Attribute.String & Attribute.Private;
subtotal: Attribute.Decimal;
total: Attribute.Decimal;
updatedAt: Attribute.DateTime;