Long awaited by developers, it’s finally up and running – the Alpha version of the PumaPay SDK! Built around the features of the ERC20 token, this initial version of the PumaPay solution is an open-source protocol that flexibly integrates with any kind of merchant platform. This allows developers to either copy and paste the code entirely or only parts of it directly into their platform or edit it as it may suit the merchant’s needs. While this only facilitates a crypto-typical push action, the full-scale Pull protocol will come with a future version of this software.
The solution available demonstrates the concept of our push protocol. This consists of a merchant dedicated e-commerce application and a client mobile wallet application. The e-commerce application allows the merchant to generate a QR Code, which is read by the mobile wallet and pushes the transaction to the blockchain.
To allow third-party members to access our protocol we have developed a proof of concept (POC) model, which can be accessed from our Github repo.
To be able to access the POC, you will need to follow the instructions below:
- Access Github https://github.com/pumapayio/puma-poc and download the repo /puma-poc. From here, open the “ReadMe” file, and follow the steps indicated in the document.
A live demo of our POC can be found at the following url:
Now, you have 2 payment possibilities: making a purchase without registration (in our case, buying photos), or registering/logging in and purchasing credits. Merchants can select an option that better fits their business needs.
Once logged in, a user will have 2 options: clicking on a picture and proceeding with the purchase, or purchasing credits in the upper right corner of the screen:
- When clicking on a photo, the user will be prompted to purchase an item (no login required).
When the logged in user chooses to purchase credits, they are prompted to the following:
- In both cases, to complete the purchase, the user is given the possibility to use either the PumaPay Wallet App or the MetaMask Ethereum browser instead, as shown below:
- To allow the transaction to go through, the user is required to scan the QR code generated by the merchant using the PumaPay wallet app, which is available for both Android and iOS devices. Once this step is completed, the user has made a successful payment using real PumaPay funds! So, beware since you’re only testing its functionality and don’t tap the button to proceed with payment. In case you want to pay with test tokens, be sure to select Ropsten Test Network in Metamask, or Testnet (instead of the Mainnet) in the PumaPay wallet settings.
Depending on the average Ethereum network confirmation time, transaction processing may take a few minutes.
While these are the basics of the PumaPay push protocol, the technical details regarding its integration with merchant-dedicated platforms and backend functionality will be covered in a future article. Meanwhile, let’s keep in touch on Telegram! As we roll out PumaPay, our agenda is full of exciting events.