Skip to content

Commit

Permalink
Merge branch 'release/0.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
joseamietta committed Jul 15, 2020
2 parents e910376 + f02c1e5 commit 7d60d3c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "watts25/naranja-payment-sdk",
"description": "Naranja Ranty - Checkout SDK",
"version": "0.1.3",
"version": "0.1.4",
"keywords": [
"openapitools",
"openapi-generator",
Expand Down
11 changes: 11 additions & 0 deletions examples/getPaymentById.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
// Importamos el SDK y las clases
require_once(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../checkoutApi.php');

$naranjaCheckout = new NaranjaCheckout('CLIENT_ID','CLIENT_SECRET','ENVIROMENT');

$response = $naranjaCheckout->getPayment('123213');

print_r($response);
?>
2 changes: 1 addition & 1 deletion src/generated/checkoutApi-sdk/lib/Api/RantyApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ public function getPayment($id)
*/
public function getPaymentWithHttpInfo($id)
{
$request = $this->getPaymentRequest($id);
$request = $this->_getPaymentRequest($id);

try {
$options = $this->createHttpClientOption();
Expand Down

0 comments on commit 7d60d3c

Please sign in to comment.