02. Definition of Terms - cafe24github/cafe24_app_pg_sample GitHub Wiki

Payment Gateway App / PG App

  • The app acts as the middleman between the Payment Company and the Cafe24.
  • It uses the Payment Company's API endpoints to communicate to the Cafe24 which will allow the buyers in the Cafe24 shops to use the Payment Company's services.
  • In this wiki and repository, this is going to be referred to as PG App.

Payment Gateway

  • Service that enables e-commerce platforms to handle payments.

Payment Gateway Company / PG Company

  • Third-party company service that connects the customer's bank or e-wallet to the merchant and facilitates the actual movement of money.
  • Their payment flow is either synchronous or asynchronous.
  • In this wiki and repository, this is going to be referred to as PG Company or Payment Company.

Merchant Account / Merchant Credentials

  • Set of public/private keys provided by the PG Company that represents the merchant in their service.
  • This set of keys is needed by the PG Company to know to whom the buyer payment is transferred.

Admin Settings

  • Settings of the PG App in the merchant's Cafe24 mall that keeps track of which Cafe24 shops the Payment Company is enabled and the merchant's credentials.

Checkout

  • The process where items/orders are bought or paid.

Payment Page

  • A webpage hosted either by the PG App or PG Company where the buyer approves the payment and the checkout is paid.

Callback

  • A step in the checkout process that is executed after the payment is either successful, canceled, or failed.

Webhook

  • A step in the checkout and/or cancellation process where the PG Company sends notifications to the PG App about the checkout payment or cancellation results.
  • This technology is used in asynchronous systems to update all parties' data.

Cancellation

  • The process where the paid order is either canceled/refunded.

Synchronous Process

  • The success or failed payment approval notification is received by the PG App in real-time.

Asynchronous Process

  • The final status of the payment approval is sent to the PG App in the background through the app's webhook endpoint. An additional process is done by the PG Company first before they inform the PG App.