Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

TransbankApi - Captura Diferida #14

Closed
CaroRed opened this issue Jun 4, 2020 · 7 comments
Closed

TransbankApi - Captura Diferida #14

CaroRed opened this issue Jun 4, 2020 · 7 comments

Comments

@CaroRed
Copy link

CaroRed commented Jun 4, 2020

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.

@DarkGhostHunter
Copy link
Owner

Es un error en la implementación SOAP. Si no es un problema de credenciales, no hay nada que pueda hacer. Seguramente algo cambió en el API de Transbank.

Le echaré un vistazo el fds.

@DarkGhostHunter
Copy link
Owner

Parece que era problema de Webpay, porque acabo de probar y no presenta problemas:

image

Y hasta la anulé:

image

Esto en PHP 7.4.5.

Cerrando con el típico irreproducible

@CaroRed
Copy link
Author

CaroRed commented Jun 9, 2020 via email

@DarkGhostHunter
Copy link
Owner

Versión del Vendor? Las últimas.

@DarkGhostHunter
Copy link
Owner

Recontra actualizé. Sigue sin problemas. Check your env.

@CaroRed
Copy link
Author

CaroRed commented Jun 9, 2020 via email

@DarkGhostHunter
Copy link
Owner

Suerte.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants