Gridpay

From GridPlay
Revision as of 11:21, 19 July 2022 by Ven (talk | contribs) (→‎Info)

Info

GridPay was created to help with roleplay where spending L$ was not needed for speeding/parking tickets, roleplay work such as serving rp drinks to customers.
With the release of GridHaul its more easier now to make P$ by transfering Gridhaul dollars (G$) to GridPay dollars (P$)

The system is grid wide so no need to rez a in world server or be limited to one roleplay community per card
One card for all of Second Life
Make P$ on mainland and spend in any supported roleplay community

Coming soon - Support for VenLife's Ven Dollars (V$). Will be able to convert V$ to P$ and vis versa.

How To Use

Paying

Click your hud, select Pay then select the rezzed item you like to pay

API

LSL

Our API requires the the Gateway Core script to be in the same prim as your custom script and can use llMessageLinked to process payments

integer amount = 10;
key toucherkey = "";
llMessageLinked(LINK_SET,amount,"pay",toucherkey);

Ya thats basiclly it. If payment is successful then a link_message is returned with string str = "paysuccess"

link_message(integer sn, integer num, string str, key id) {
        if (str == "paysuccess") {
            // Give item here
            if (num == amount) {
                // amount paid is the correct amount set
                llSay(0,llGetDisplayName(id)+" has paid "+(string)num);
            }else{
                llSay(0,"Incorrect amount paid");
            }
        }else if (str == "payfail") {
            // Payment was declined
            llSay(0,"Payment Declined");
        }
}

RESTful

Coming soon

UPDATES

HUD 3.1.1 - Feb 8 2022

  • Minor fixes
  • Now using Furware text on the HUD
  • More info on the hud while interacting with its menu

Business Package 1.2.0 - Sept 19 2021

  • Vendor now has a menu option to set the price
  • Cash register now allows Same Group to use, perfect for employee's to use

Video