Skip to content

makecryptoio/makepay-roblox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MakePay Roblox/Luau Module

Roblox server ModuleScript and backend relay example for MakePay hosted payment links.

Roblox experiences should not contain MakePay merchant credentials. This package keeps the Roblox side small: a server ModuleScript calls your backend relay with game/player metadata, and the backend relay creates MakePay payment links and verifies webhooks before granting entitlements.

Contents

  • src/MakePayServer.lua - Luau ModuleScript for Roblox server scripts.
  • examples/roblox/ServerScript.lua - example usage from ServerScriptService.
  • examples/node-relay - backend relay for payment links and webhooks.
  • docs/SETUP.md - setup and policy notes.

Roblox Setup

  1. Enable HTTP requests in Game Settings -> Security.
  2. Place src/MakePayServer.lua in ServerScriptService or ReplicatedStorage.
  3. Require it from a server Script.
  4. Configure your backend relay URL.
local MakePay = require(path.to.MakePayServer)

MakePay.configure({
    baseUrl = "https://your-relay.example",
    relaySecret = "server-to-relay-secret"
})

Create A Payment Link

local ok, result = MakePay.createPaymentLink(player, {
    sku = "vip_rank",
    title = "VIP Rank",
    amount = "4.99",
    currency = "USD"
})

if ok then
    print(result.checkoutUrl)
else
    warn(result)
end

Check Roblox policies before using off-platform payments for in-experience goods. Entitlements should be granted only by your backend after signed MakePay webhook confirmation.

Development

npm test
npm run validate

About

Roblox/Luau server module and backend relay for MakePay payment links. Cryptocurrency payment gateway for direct self-custody merchant-wallet settlement, decentralized swaps, and 70+ coin/20+ chain auto-conversion.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors