Quick Web
  • QuickWeb Technical Guide
  • Getting connected
    • 1. Include Paycorp Payments JS
    • 2. Initialise the Payment
    • 3. Setup an HTTP GET endpoint
    • 4. Confirm the payment
    • 5. Process the Payment
  • Support
  • Sample Code
Powered by GitBook
On this page

Getting connected

PreviousQuickWeb Technical GuideNext1. Include Paycorp Payments JS

Last updated 6 years ago

is very simple:

  1. Create an HTML page that includes Paycorp in a <script> block

  2. Initialise the payment using javascript

  3. Setup an HTTP GET endpoint to handle the payment initialisation callback

  4. Confirm the payment using a simple HTTP POST request

  5. Process the payment response

Sinhala Translation:

  • පලමුව html page එකක් සාදා paycorp_payment.js link එක <script> block හි src tag එකට දෙන්න.

  • Payment එකේ මූලික පියවර javascript භාවිතයෙන් ආරම්භ කරන්න.

  • Payment එක හැසිරවිම සදහා paycorp එකෙන් එවන HTTP GET Endpoint එක පාවිච්චි කරන්න.

  • Payment එක තහවුරු කරගැනීම සදහා HTTP POST Request එකක් භාවිතා කරන්න. අවසානයේ

  • Payment response එක ඔබට ලබාගත හැකිය

Getting connected
paycorp_payments.js