forcedotcom / forcedotcom/commerce-on-lightning
"Sample Order Delivery Method" should have a product and a price entry
- Dominant language
- TypeScript
- Stars
- 84
- Forks
- 84
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
I got error below when I try to complete checkout.
```
===0MIT===
`CHECKOUT_CONFLICT`Required fields are missing: [PricebookEntryId, Product2Id]
common.exception.ApiException: Required fields are missing: [PricebookEntryId, Product2Id]
at common.udd.object.ValidationException.remapToApiException(ValidationException.java:179)
at common.udd.object.RequiredFieldException.remapToApiException(RequiredFieldException.java:91)
===0MIT===
```
This was caused by missing PricebookEntryId, Product2Id in cartItem which should have delivery product.
Contributor guide
Research direction
Start by tracing checkout handling for cartItem and the "Sample Order Delivery Method" data described in the issue. Confirm where delivery products and prices are assembled; done means checkout no longer fails with missing PricebookEntryId and Product2Id.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100