Hello community
We need to create a Transbank Webpay OneClick connector.
To do this, we are using the example provided by VTEX.
But adding the connector dependency (SDK) provided by the payment provider does not throw an error.
https://www.npmjs.com/package/transbank-sdk
Screenshot attached
Does anyone know why this happens?
Notes:
-
The dependency works correctly — the test was carried out using the example provided by the same provider in their official repository.
GitHub - TransbankDevelopers/transbank-sdk-nodejs-webpay-rest-example: Transbank SDK for NodeJS example project · GitHub
-
The dependency error occurs when installed in the project
GitHub - vtex-apps/payment-provider-example: A reference app implementing a Payment-Provider protocol · GitHub
Hi @developer-vtex-01
I believe the solution in this case would be the same one suggested by George Brindeiro in this thread:
Within the same thread there is another solution suggested for the same problem. Could you test these solutions and confirm if the problem persists?
Eduardo Luciano
Field Software Engineer | VTEX
Hi @eduardo.luciano
Thank you for your quick response, we did that, but the error still persists.
We also updated the devDependency
‘@vtex/test-tools’ from 1.0.0 to ^3.4.3 as recommended by @erika.beltran
After that we noticed the deletion of yarn.lock but the error still persists.