8000 Tags · victorcaina/pagarme-php · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: victorcaina/pagarme-php

Tags

v3.7.8

Toggle v3.7.8's commit message
client: fixes legacy guzzle request objects instantiation

Theres a big difference between `5.*` and `6.*` guzzle majors. So, in the `PagarMe\Sdk\Client::buildRequest` method the sdk should instantiate the correct request object accordingly its contracts, in this case twice: `\GuzzleHttp\Message\Request` and `\GuzzleHttp\Psr7\Request`.

If the user define request options, in guzzle `5.*` this options should be within the request object. If the major is `6.*` the options should be informed on `\GuzzleHttp\Client::send()` method as a second argument.

This fixes the described behavior above informing the request options on the right places.

v3.7.7

Toggle v3.7.7's commit message
tests: convert expected paylod keys to snake_case

Convert payload keys to snake_case format to keep the code pattern.

v3.7.6

Toggle v3.7.6's commit message
client: pass the timeout parameter to Client

When the SDK is instantiated the timeout parameter is not passed to the
Client and the method send utilize this parameter, without it, the
timeout will always be null, because the GuzzleClient timeout is always
overwrited.

v3.7.5

Toggle v3.7.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
pagarmeexception: fix json_encode twice (#254)

v3.7.4

Toggle v3.7.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix wrong object type after create a transaction (#252)

* customer: fix customer type on API response

When the SDK create the transaction object from the API response the
customer object is showing like a stdClass. This commit fix this by
switching this stdClass to the Customer object.

* card: fix card type on API response

When the SDK create the transaction object from the API response the
card object is showing like a stdClass. This commit fix this by
switching this stdClass to the Card object.

* tests: fix tests to not access id property directly

* tests: fix tests failing

The bulk anticipation tests fails in some days of the week because it
count +5 days and +6 days from current date time, and the anticipation
must be in a business day. This PR fix this by validating the week day
and changing the count if the day is a weekend.

v3.7.3

Toggle v3.7.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #251 from KennedyTedesco/payables-v3

Retornar os payables de transaction

v3.7.2

Toggle v3.7.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #250 from pagarme/feature/invoice-reminder-to-plan

Feature/invoice reminder to plan

v3.7.1

Toggle v3.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #243 from pagarme/feature/add-softdescriptor-to-bo…

…leto

add softdescriptor to boleto transaction

v3.7.0

Toggle v3.7.0's commit message
tests: modify unit tests to verify subscription payload

v3.6.1

Toggle v3.6.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
add boleto instructions to transaction payload

0