Skip to content

Latest commit

 

History

History

express-javascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Example using Express

Switch to Persian (فارسی)

There are two routes in this example:

  1. /purchase: requests the payment and then sends the user to the payment gateway
  2. /callback: receives the data from the gateway and verifies it

Note: in order to test this example with SSL, you can use ngrok.com and add your ngrok url to the .env file.