VIP-SHOP

(v21.09+)

VIP-SHOP is an add-on that allows you to sell VIP codes in real time using Stripe as a processor of credit cards, GooglePay and ApplePay. VIP-SHOP is NOT included in BlaB! WS/AX Pro and must be purchased separately. VIP-SHOP settings are fully integrated in the Admin CP of the chat.

VIP-SHOP is NOT a required part of BlaB! WS/AX Pro - you can sell VIP codes by installing and using any online store software that is familiar to you or popular in your region. Alternatively, you can generate VIP codes en masse and sell them via online services such as MyCommerce, e-Junkie, Simple Goods.


How VIP-SHOP works

Below is a simplified diagram and a simplified explanation of the internals of VIP-SHOP.


HOW TO SETUP VIP-SHOP

Initial chat settings

  1. Create new VIP slots - AdminCP » VIP, and optionally create and link new user groups to the VIP slots - AdminCP » Groups.
  2. Generate VIP codes and test thoroughly if everything works as expected.
  3. Download, unzip and upload VIP-SHOP in a folder under the chat named vipshop: /chat/vipshop
  4. Create new VIP-SHOP products from AdminCP » VIP » VIP-SHOP by selecting a VIP slot from the drop-down menu and length in hours.

Initial Stripe settings

  1. Go to Stripe dashboard and activate test mode (if inactive) with the button view test data.
  2. Go to Products.
    • Add a new product with ADD PRODUCT.
    • Provide a name, description and optionally an image - copy from AdminCP » VIP » VIP-SHOP » {Product}.
    • Select price, activate ONE TIME and save with SAVE PRODUCT.
  3. Repeat step 2 to add more products.
  4. Go to Developers » Webhooks.
    • Add a new endpoint with ADD ENDPOINT.
    • Copy from AdminCP » VIP » VIP-SHOP » SETTINGS: STRIPE-WEBHOOK-SECRET & URL and paste it as Endpoint URL.
    • Events to send: charge.succeeded
    • Save with the button ADD ENDPOINT

Additional settings

  1. Copy your test secret API KEY from Stripe » Developers » API keys to AdminCP » VIP » VIP-SHOP » SETTINGS » STRIPE-API-KEY (mind secret key NOT publishable key) and save with OKAY.
  2. Copy and paste PriceIDs from each Stripe » Products » {product} to AdminCP » VIP » VIP-SHOP » {product} and save with OKAY.
  3. Go to /chat/vipshop/ and make test purchases using as a test credit card number: 424242424242, card expiration - any date in the future, CVV - any 3 digits and a random email address.

Debugging

From TEST to LIVE mode

  1. Stripe: Copy each product from TEST mode to LIVE mode with the button Copy to live mode.
  2. Stripe: Turn off TEST mode with the button Viewing test data.
  3. Stripe: Add a LIVE endpoint by repeating step #4 from Initial Stripe settings in LIVE mode. Go to Developers » Webhooks.
    • Add a new endpoint with ADD ENDPOINT.
    • Copy from AdminCP » VIP » VIP-SHOP » SETTINGS: STRIPE-WEBHOOK-SECRET & URL and paste it as Endpoint URL.
    • Events to send: charge.succeeded
    • Save with the button ADD ENDPOINT
  4. Copy your LIVE secret API KEY from Stripe » Developers » API keys to AdminCP » VIP » VIP-SHOP » SETTINGS (mind secret key NOT publishable key) and save with OKAY.
  5. Copy and paste PriceIDs from each Stripe » Products » {product} to AdminCP » VIP » VIP-SHOP » {product} and save with OKAY - PriceIDs in LIVE mode are different from PriceIDs in TEST mode!

How to display a link to VIP-SHOP

You can put a link to VIP-SHOP on your website and you can display similar links in chat.
AdminCP » Additions » Panel Top

<div style="margin:10px 0 10px 0;font-size:120%">
<b class="x_accent_fg pointer" onclick="window.open('./vipshop/','vipshop')">Become a VIP user!</b> 
</div>

 

TheGodFather would return a link to VIP-SHOP when users send in chat vip or shop.
AdminCP » Machines » TheGodFather » New subset {IMPORT}

TheGodFather:eyIwIjpbIm5hbWUiLCJWSVAiXSwiMSI6WyJlbmFibGVkIiwiMiJdLCIyIjpbInJvb21pZCIsIjAiXSwiMyI6WyJ1Z3JvdXAiLCIwIl0sIjQiOlsicG0iLCIwIl0sIjUiOlsia2V5d29yZHMiLCJ2aXAsc2hvcCJdLCI2IjpbImFuc3dlcnMiLCJXYW5uYSBiZSBWSVA/IEhlcmU6IGh0dHBzOi8vWU9VUi1XRUJTSVRFLkNPTS9jaGF0L3ZpcHNob3AvIl19

 

Time Machine with information and a link to VIP-SHOP 60 seconds after loading the chat.
AdminCP » Machines » Time MAchine » New sequence {IMPORT}

TimeMachine:eyIwIjpbIm5hbWUiLCJ2aXBzaG9wIl0sIjEiOlsiZW5hYmxlZCIsIjIiXSwiMiI6WyJyb29taWQiLCIwIl0sIjMiOlsiaHJlbWVtYmVyIiwiMSJdLCI0IjpbInVncm91cCIsIjAiXSwiNSI6WyJpbmZpbml0ZSIsIjAiXSwiNiI6WyJzaHVmZmxlIiwiMCJdLCI3IjpbImdhcCIsIjYwIl0sIjgiOlsiZGVsYXkiLCIwIl0sIjkiOlsiY29va2llbGVuZ3RoIiwiMCJdLCIxMCI6WyJ0ZW1wbGF0ZSIsIjxkaXYgY2xhc3M9XCJtc2dcIj48aW1nIGNsYXNzPVwiYXZ0IHhfY2lyY2xlXCIgc3JjPVwiYXZhdGFyLnBocD9xPTgwMDAxXCIgYWx0PVwiXCIgLz48ZGl2IHN0eWxlPVwidGV4dC1hbGlnbjpsZWZ0XCI+PHNwYW4gY2xhc3M9XCJjaGF0X2FyZWFfdXNlciBnMVwiPlRoZUdvZEZhdGhlcjwvc3Bhbj4gPHNwYW4gY2xhc3M9XCJjaGF0X2FyZWFfdGltZVwiPntUSU1FfTwvc3Bhbj48YnIgLz48c3Bhbj57VEVYVH08L3NwYW4+PC9kaXY+PC9kaXY+Il0sIjExIjpbImVsZW1lbnRzIiwiV2FubmEgYmUgVklQPyA8YiBjbGFzcz1cInhfYWNjZW50X2ZnIHBvaW50ZXJcIiBvbmNsaWNrPVwid2luZG93Lm9wZW4oJy4vdmlwc2hvcCcsJ3ZpcHNob3AnKVwiPkJ1eSBhIFZJUCBjb2RlIGhlcmUhPC9iPiJdfQ==

MISC NOTES


Page updated: 2021-10-05
 
Powered by BlaB! Pages