Giter VIP home page Giter VIP logo

transbankapi's Introduction

  • 👋 Hi, I’m @DarkGhostHunter
  • 👀 I’m interested in great apps
  • 🌱 I’m currently surviving inflation
  • 💞️ I’m looking to collaborate on my packages.
  • 📫 Reach me by email or in Mastodon.

transbankapi's People

Contributors

darkghosthunter avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

deerme tadeuf

transbankapi's Issues

publicKey

Hola que conversión debo usar para obtener la clave publica de la calve privada?

formato .pem .pub?

namespace App;

use DarkGhostHunter\TransbankApi\Transbank;

$transbank = Transbank::make('production', [
'webpay' => [
'commerceCode' => '5000000001',
'publicKey' => 'ABCD1234EF...',
'publicCert' => '---BEGIN CERTIFICATE---...'
],
]);

TransbankApi - Captura Diferida

Hola estoy probando webpay con captura diferida que es lo que necesita un cliente y sale este error en capture.php:
Fatal error: Uncaught SoapFault: in D:\www\2020\06\transbank-api\vendor\darkghosthunter\transbank-api\src\Clients\Webpay\PlusCapture.php:59 Stack trace: #0 D:\www\2020\06\transbank-api\vendor\darkghosthunter\transbank-api\src\Clients\Webpay\PlusCapture.php(59): SoapClient->__call('capture', Array) #1 D:\www\2020\06\transbank-api\vendor\darkghosthunter\transbank-api\src\Clients\Webpay\PlusCapture.php(38): DarkGhostHunter\TransbankApi\Clients\Webpay\PlusCapture->performCapture(Object(stdClass)) #2 D:\www\2020\06\transbank-api\vendor\darkghosthunter\transbank-api\src\Adapters\WebpayAdapter.php(160): DarkGhostHunter\TransbankApi\Clients\Webpay\PlusCapture->capture(Object(DarkGhostHunter\TransbankApi\Transactions\WebpayTransaction)) #3 D:\www\2020\06\transbank-api\vendor\darkghosthunter\transbank-api\src\AbstractService.php(169): DarkGhostHunter\TransbankApi\Adapters\WebpayAdapter->commit(Object(DarkGhostHunter\TransbankApi\Transactions\WebpayTransaction)) #4 D:\www\2020\06\transbank-api\vendor in D:\www\2020\06\transbank-api\vendor\darkghosthunter\transbank-api\src\Adapters\WebpayAdapter.php on line 164

Estoy usando el ejemplo que sale en la página https://github.com/DarkGhostHunter/TransbankApi/blob/master/examples/webpay-defer-capture-nullify/capture.php

Lo estoy haciendo en mi localhost. El createDefer funciona y el código de return también, solo en capture.php se cae.

Les agradezco desde ya.

OnePay, no retorna respuesta al rechazo

Hola, al probar OnePay e ingresar el usuario https://onepay.ionix.cl/mobile-payment-emulator/ y presionar el botón REJECTED, al retornar y confirmar no muestra el array con los datos del REJECTED, al contrario muestra el siguiente error:

Fatal error: Uncaught DarkGhostHunter\TransbankApi\Exceptions\Onepay\OnepayResponseException: Onepay has returned an error: [INVALID_TRANSACTION] - Transacción inválida Transaction: {"occ":"1903882216651498","externalUniqueNumber":"71db755833ed6337c537aca0ddfb3e61","issuedAt":1553379569} in /home/clmicorredora/vendor/darkghosthunter/transbank-api/src/Clients/Onepay/OnepayClient.php:156 Stack trace: #0 /home/clmicorredora/vendor/darkghosthunter/transbank-api/src/Clients/Onepay/OnepayClient.php(201): DarkGhostHunter\TransbankApi\Clients\Onepay\OnepayClient->post('gettransactionn...', Object(DarkGhostHunter\TransbankApi\Transactions\OnepayTransaction)) #1 /home/clmicorredora/vendor/darkghosthunter/transbank-api/src/Adapters/OnepayAdapter.php(91): DarkGhostHunter\TransbankApi\Clients\Onepay\OnepayClient->confirm(Object(DarkGhostHunter\TransbankApi\Transactions\OnepayTransaction)) #2 /home/clmicorredora/vendor/darkghosthunter/transbank-api/src/AbstractService.php(189): DarkGhostHunter\TransbankApi\Adapters\OnepayAdapter->re in /home/clmicorredora/vendor/darkghosthunter/transbank-api/src/Clients/Onepay/OnepayClient.php on line 156

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.