Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problemas con control de errores #40

Closed
DavmanHack opened this issue Aug 6, 2019 · 3 comments
Closed

Problemas con control de errores #40

DavmanHack opened this issue Aug 6, 2019 · 3 comments

Comments

@DavmanHack
Copy link

use estas credenciales

Diners Club | 3600 010000 0007 | 12/2024 | 820 | processing_error

y me sale el siguiente error


Fatal error: Uncaught Culqi\Error\UnhandledError: {"object":"error","type":"card_error","charge_id":"chr_test_mGBHiVi0Pc7ASBPW","code":"card_declined","decline_code":"processing_error","merchant_message":"Error de procesamiento. Ocurrió un error mientras procesabamos la compra. Contáctate con culqi.com/soporte para que te demos una solución.","user_message":"Ocurrió un error mientras procesabamos tu compra. Contáctate con culqi.com/soporte para que te demos una solución."} in D:\xampp\htdocs\pagos\culqi\lib\Culqi\Client.php:54 Stack trace: #0 c'/charges/', 'sk_test_wV2W34h...', Array) #1 D:\xampp\htdocs\pagos\proceso.php(28): Culqi\Charges->create(Array) #2 {main} thrown in D:\xampp\htdocs\pagos\culqi\lib\Culqi\Client.php on line 54
@DavmanHack
Copy link
Author

pero cuando ingreso la tarjeta

4111 1111 1111 1111 | 09/2020 | 123 | Venta exitosa

si me genera el json correctamente
{"duplicated":false,"object":"charge","id":"chr_test_3tn6FXJCGgoOcTAS","creation_date":1565069443000,"amount":5000,"amount_refunded":0,"current_amount":5000,"installments":1,"installments_amount":5000,"currency_code":"PEN","email":"[email protected]","description":"Dise\u00f1o web estatic2o","source":{"object":"token","id":"tkn_test_IdhB2ThTKhy1HFVh","type":"card","creation_date":1565069441000,"email":"[email protected]","card_number":"411111*****1111","last_four":"1111","active":true,"iin":{"object":"iin","bin":"411111","card_brand":"Visa","card_type":"credito","card_category":"Cl\u00e1sica","issuer":{"name":"BBVA","country":"PERU","country_code":"PE","website":null,"phone_number":null},"installments_allowed":[2,4,6,8,10,12,3,5,7,9,24,48]},"client":{"ip":"190.43.126.192","ip_country":"Peru","ip_country_code":"PE","browser":"UNKNOWN","device_fingerprint":null,"device_type":"Escritorio"},"metadata":{"installments":"1"}},"outcome":{"type":"venta_exitosa","code":"AUT0000","merchant_message":"La operaci\u00f3n de venta ha sido autorizada exitosamente","user_message":"Su compra ha sido exitosa."},"fraud_score":11,"dispute":false,"capture":true,"reference_code":"FpSMg6W8hA","authorization_code":"MMKBY6","metadata":{},"total_fee":236,"fee_details":{"fixed_fee":{},"variable_fee":{"currency_code":"PEN","commision":0.0399,"total":200}},"total_fee_taxes":36,"transfer_amount":4764,"paid":false,"statement_descriptor":"CULQI","transfer_id":null,"capture_date":1565069443000}

cual puede ser el problema?

@fecori
Copy link

fecori commented Oct 1, 2019

Hola @DavmanHack te respondi en este issue #26 saludos!

@DavmanHack
Copy link
Author

si, muchas gracias (Y)

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

No branches or pull requests

3 participants