Checkout: only customer fields on order updates, verified PayPal capture, safe logging #6
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
|
||||
|
||||
Vendored
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user