Skip to content

Commit

Permalink
v2.3.4 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
LithMage committed Sep 29, 2021
1 parent faa1e58 commit 116c625
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.3.4] - COD Service for Pickup Point type of shipment
### Added
- For product (2711) it is now allowed to set COD additional service (3101)

## [2.3.3] - FI pickupoints
### Changed
- PickupPoints for country FI wont filter out type PICKUPPOINT
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ try {


**Shipment::PRODUCT_PICKUP** available additional services:
- Must be set manualy
- 3101 - Cash On Delivery (only by credit card).
**Requires** array with this information:
- `amount` => amount to be payed in EUR,
- `account` => bank account (IBAN),
- `codbic` => bank BIC,
- `reference` => COD Reference, can be used `Helper::generateCODReference($id)` where `$id` can be Order ID.
- Will be set automatically
- 3201 - Pickup Point, is set automatically when pick up point ID (pupCode from Locations API) is registered into Shipment.
**Requires** array with this information:
Expand Down Expand Up @@ -253,6 +260,7 @@ try {
->setSenderParty($sender) // Register Sender
->setReceiverParty($receiver) // Register Receiver
->setPickupPoint('071503201') // Register pickup point pupCode
->addAdditionalService($service_cod) // Register additional services
->addGoodsItem($item) // Register GoodsItem (this adds just one)
->setComment('Comment about shipment') // Comment string
;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mijora/itella-api",
"description": "Itella API wrapper",
"type": "library",
"version": "2.3.3",
"version": "2.3.4",
"authors": [
{
"name": "Rimvydas",
Expand Down

0 comments on commit 116c625

Please sign in to comment.