Custom Payment Options
Quick Start
Step-by-Step Guide
Step 1: Open the File
-- ============================================================================
-- EXAMPLE: VIP Coins Custom Currency
-- Uncomment and modify this to add your own custom currency!
-- ============================================================================
-- Currencies.Server.Register({
-- id = "vip_coins",
-- ...
-- })Step 2: Copy the Example
Step 3: Fill in the Fields
Field
Required?
What it does
Understanding the Fields
format - How Prices Are Displayed
format - How Prices Are DisplayedFormat
Example Output
conversionRate - Currency Value
conversionRate - Currency ValueRate
Meaning
$50,000 car costs...
flatCost - Fixed Price Per Purchase (Optional)
flatCost - Fixed Price Per Purchase (Optional)allowFinance - Financing Support
allowFinance - Financing SupportBalance Functions
Example: Using a Database Table
Example: Using an Export from Another Resource
Complete Examples
Example 1: VIP Coins (Conversion Rate)
Example 2: Car Tokens (Flat Cost)
Example 3: Premium Points (with Financing)
Enabling Your Currency at a Dealership

Troubleshooting
Last updated
Was this helpful?

