At this time, we would like to explain about the further development process of the payment module.
Please take your time reading through, since this may be an important aspect of GUHADA that you might want to know.
Currently, the payment module is 80 percent complete and in May, the logic and security development will be completed.
In the payment module, there are 3 functions:
1. Payment
2. Cancel Payment
3. Refund
The payment methods of credit card payment/virtual account payment/account transfer payment/mobile payment are under the development process as provided payment methods.
The notification functions will be developed afterward.
Examples are provided below to show the flow of payment module below.
The payment module process
The payment module is developed based on the settings that were provided in the previous development update
Link: https://medium.com/temcolabs/guhadas-order-and-payment-module-1f7e0298914d
The flow goes from the selection of the payment method → first step confirmation → uploading of the confirmed data to the GUHADA server → Payment Completion
API Category List
Controller
For the module, the process follows Order form → Confirmation → Order Completion.
The controller is shown below:
/billingDev =>Test Order Page
/privyCetify => Create Confirmation Data
/privyCertifyResult =>Confirmation Result Data Form Transfer
/privyApproval => Payment Confirmation Request
Below shows payment confirmed request data log ready to be transferred.
It is composed of the character set and store ID detail data.
Interface
The below image shows the Confirmation Data Communication Log. If the confirmation is successful, the log can be checked as below:
The below shows the development of the Payment Method, the design is in the under development. GUHADA’s PG (Payment Gateway) Company is LOTTE and KICC
Create Form Data
The core logic cannot be provided as of now, but shown below is the confirmation through essential data.
Proceed with the confirmation step by processing the essential data.
Below data shows the processed data indicated on the form.
(The image is not the actual information shown on the GUHADA order page. The image is for to support the understanding of the process)
Confirmation Data Input / Create Approval Data
If there is no issue with confirmed data, the PG payment window is signaled and payment information can be entered.
We have used Hyundai Card to proceed with the payment process.
Approval
When the payment is processed through the mobile app, confirm as the shown image and click on the payment button proceed with the confirmation process. We have used the payment code to proceed with the payment.
To help you understand better we have provided the screenshot below for sharing of the data.
Payment Process Step and Payment Success
When the payment is successful, TID is produced. TID is an approval number. After the TID is produced, the role of the payment module is finished.
Below is the confirmation data processing communication log. After the successful payment the below log shows.
Create Return Data
When the actual payment process is finished, the return data is created as below and is sent to the order data processing.
Hash Data Create
The essential encrypted logic for communication shown as below. The content is for the encryption of the data so all the implementation data cannot be shown.
String Utils
Below shows String Utils that has been added from the development of the payment module. It is showing the validation check and String replace.
When the payment process is complete, the below information is sent in an email.
We will be back with more announcements and development updates.
Thank you for supporting TEMCO!
TEMCO: Innovative Supply Chain Data and E-Commerce Solution through Blockchain and Smart Contract Technology.
▶TEMCO Chatroom: https://t.me/temcolabs
▶TEMCO Official Website: https://temco.io