Skip to content

Releases: konduto/php-sdk

Update SDK

Choose a tag to compare

@josue-mendes josue-mendes released this 26 Aug 12:38
e312cc6
Merge pull request #22 from konduto/update-sdk-php-konduto

Update sdk php

Update SDK

Choose a tag to compare

@josue-mendes josue-mendes released this 26 Aug 12:36
e312cc6
Merge pull request #22 from konduto/update-sdk-php-konduto

Update sdk php

Adds support for the `events` node

Choose a tag to compare

@fabioaromanini fabioaromanini released this 03 May 13:46
2c403d5

This release adds support for the node events, which is an array of objects describing an event ticket. For more information on the new field, please see https://docs.konduto.com/reference#event

More supported fields

Choose a tag to compare

@adri0 adri0 released this 14 Jan 08:51
4d5f29e

The payment object supports two more properties:

$payment->setAmount(9.90);
$payment->setDescription("10% discount voucher");
  • amount: a numerical amount representing how much of the total order amount was paid using the current payment method.
  • description: a string description for the current payment method.

Now there are accessors (getters) for triggered rules, decision lists and response of queries to external bureau services:

$order->getTriggeredRules();
$order->getTriggeredDecisionList();
$order->getBureauxQueries();

Other changes include:

  • A contributing guide section was added to the project's README.
  • Any hardcoded API keys were removed (even if not working). Now for running integration tests an API key needs to be provided via environment variable.

Suporte para novos campos

Choose a tag to compare

@adri0 adri0 released this 08 Feb 16:41
  • Novo nó para informação de hotel.
  • Campos expiration_date no nó travel e company nas travel legs.
  • Fix com erro de merge no código da exceção SDKErrorException.

Bug fixes

Choose a tag to compare

@adri0 adri0 released this 11 Jul 19:53

Fix bugs related to setters and getters:

  • Address.setName was not actually setting the name (#9);
  • Customer was missing setters for 'new' and 'vip' fields;
  • Not all models were complying to fluent setter pattern;

Version 2! :D

Choose a tag to compare

@adri0 adri0 released this 24 May 20:55

A leaner and adaptable version of the SDK. This version is not completely backwards compatible to v1.
Much more IDE friendly.

Bug fixes, minor refactories

Choose a tag to compare

@adri0 adri0 released this 23 Feb 18:44

Drop use of namespace-level constants (Models\STATUS_APPROVED, etc). Now they are all class constants:
Order status and recommendation constants belong to Order class. Payment type constants belong to Payment class.
Order.get_status is now a regular getter (it does not try to foresee the status of a recently posted order).

Seller model

Choose a tag to compare

@adri0 adri0 released this 01 Jul 12:56

Add a Seller model for Marketplaces

Few new fields supported

Choose a tag to compare

@adri0 adri0 released this 29 Jun 13:00

Customer object:

  • created_at

Item object:

  • created_at

Order object:

  • purchased_at
  • first_message
  • messages_exchanged