Skip to content

thriftshop-site/create-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Link FN

Development

  • cp .env.example .env

  • edit .env

PAYMONGO_EMAIL=
PAYMONGO_PASS=
PAYMONGO_LIVE_MODE=
Raw JSON PAYLOAD
{
    "amount": 100000,
    "description": "iPhone Xfinity (1)",
    "livemode": false,
    "remarks": "test"
}
  • NOTE: Call This upon Checkout

  • amount is required , and is on cents. i.e.: 100000 = 1000.00 php

  • description is required , and is your Order Details format: product_name (QTY) provided by cart system.

  • livemode is set as ENV variable, Set it to true if you have active paymongo account

  • remarks is optional

Deploy

Deploy to Netlify

Set Your Domain In Netlify

  • Go to Settings

  • Click Change Site Name ${username}-tss-fn-create-link.yourdomain.com

Production

  • make post request with Needed payload to ${username}-tss-fn-create-link.domain.com/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published