Skip to content

Commit

Permalink
fix(pickup): fix bpost pickup not working for myparcel be (#234)
Browse files Browse the repository at this point in the history
INT-585
  • Loading branch information
EdieLemoine authored Jul 24, 2024
1 parent 20f4d3f commit c1f6e22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/shared/src/config/getSendMyParcelConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export const getSendMyParcelConfig = (): PlatformConfiguration => ({
addressFields: [AddressField.PostalCode, AddressField.Street, AddressField.City],
shipmentOptions: [ShipmentOptionName.Signature],
fakeDelivery: true,
/**
* API returns a 500 error when package_type is passed, even though it's valid for belgie + bpost.
*/
unsupportedParameters: ['package_type'],
},
{
name: CarrierName.PostNl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ exports[`getPlatformConfig > gets config for platform belgie 1`] = `
"signature",
],
"subscription": 0,
"unsupportedParameters": [
"package_type",
],
},
{
"deliveryCountries": [
Expand Down

0 comments on commit c1f6e22

Please sign in to comment.