WebPay is one of the payment solutions of Transbank in Chile. It's main goal is to provide digital businesses a way to manage their online payment channels. Here is the official api documentation, environment credentials and the gem used.
WebPay was used in Papa John's project.
Ruby on Rails implementation:
- Service and tests
- Interactors and tests
- Controller and tests
React Native Implementation:
- Although Transbank has an official Slack account with an active community, it can be hard to have direct contact/help from their support team.
- Getting production credentials can take some time.
- Some of the documentation is either incomplete or incorrect.
- OneClick. Tokenizes the user's credit card for easier following transactions.
- OnePay. Uses a mobile app to validate the transaction.
- The full implementation of this integration was estimated in 100hs. Copying this code should reduce this estimation to 30.
- Consider extra time for getting production credentials and obtaining Transbank's validation.
- Check if the client needs the standard integration or the Mall integration, which is a different way of organizing transaction data.
- The full implementation of this integration was estimated in 30hs.