Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.02 KB

UPGRADE-1.1.md

File metadata and controls

26 lines (22 loc) · 1.02 KB

UPGRADE FROM 1.1.0 TO 1.1.1

  1. We renamed a function whose name was incorrect. Check your use of Paygreen\Sdk\Payment\V3\Enum\StatusEnum, getPaymentModes have been renamed to getStatus.
    - Paygreen\Sdk\Payment\V3\Enum\StatusEnum::getPaymentModes();
    + Paygreen\Sdk\Payment\V3\Enum\StatusEnum::getStatus();

UPGRADE FROM 1.0.X TO 1.1.0

  1. We have standardized and corrected all first and last name calls. For all models.
    Check your creations of objects Paygreen\Sdk\Payment\V2\Model\Address and Paygreen\Sdk\Payment\V2\Model\Customer.
    $customer = new \Paygreen\Sdk\Payment\V2\Model\Customer();
    - $customer->setFirstname('John');
    + $customer->setFirstName('John');
    - $customer->setLastname('Doe');
    + $customer->setLastName('Doe');
    
    $address = new \Paygreen\Sdk\Payment\V2\Model\Address();
    - $address->setFirstname('John');
    + $address->setFirstName('John');
    - $address->setLastname('Doe');
    + $address->setLastName('Doe');