Hi team, I was testing Apple Pay payments and I am thrown this error when trying to pay for a product with Apple Pay.
Here is a clear text error I got when trying to do a regular checkout but paying with Apple Pay at the end:
"
Bad Request
The operation cannot be completed:
- Create/update: a mandatory field is not set.
- Delete: another model requires the record being deleted. If possible, archive it instead.
Model: Event Registration (event. registration)
Field: Event (event id)
"
Here is the error I used when trying to use Express Checkout Apple Pay:
"
Internal server error
null value in column "event_id" of relation "event_registration" violates not-null constraint
DETAIL: Failing row contains (63, null, null, null, null, null, null, null, 4, 4, null, null, null, null, null, draft, t, null, 2023-07-22 15:34:06.810337, 2023-07-22 15:34:06.810337, null, null, 13, 18, null).
"
I am running Odoo saas~16.3+e (Enterprise Edition) on Odoo Cloud.