Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Repositories on this feature:
Packages: https://github.com/rbilabs/intl-packages
Fulfillment: https://github.com/rbilabs/intl-fulfillment-service
PSP Paycomet Service:https://github.com/rbilabs/intl-psp-paycomet-service
Whitelabel Graphql: https://github.com/rbilabs/intl-whitelabel-graphql
Business Rules
Similar to Paypal and Bizum, Waylet has his own interface, provided by Paycomet, which should be instantiated per request of checkout link.
Waylet should be identified on Admin/Support Tool
Breakdown
Add Waylet into packages
Add to packages
Add to PSP Service
Add to graphQL
Sequence Diagram
Info |
---|
Work in progress, troubles with Paycomet API to validate some flows. |
Code Block |
---|
title Paycomet Waylet Payment
Frontend->GraphQL:generateCheckoutLink()\n<< methodId: 41 >>
GraphQL->GraphQL:get Order and Store info
GraphQL->Paycomet-PSP-Service:POST {pspServiceBaseURL}api/v1/links/checkout\n << To generate HPP URL >>
Paycomet-PSP-Service->Paycomet(External):POST {paycometBaseURL}/v1/payments
Paycomet-PSP-Service<-Paycomet(External):Return Waylet link
Paycomet-PSP-Service->GraphQL:Return sanitized Hosted Page URL
GraphQL->Frontend:Return Hosted Page URL
Frontend->Frontend:Render Hosted Page
Frontend->GraphQL:commitOrder()\n<< Backend commit disabled >>
GraphQL->Paycomet-PSP-Service:POST {pspServiceBaseURL}api/v1/payment
note over Frontend,Paycomet(External):Work in progress continue here.
|