Seamless Payment Solutions for E-Bike Charging Services

Creating seamless Payment Solutions for E-Bike Charging Services using Logmor Cellular Smart Outlet with API, Zapier, and Stripe involves integrating these platforms to enable smooth and hassle-free payment collection for e-bike charging. Here’s a detailed step-by-step guide:

Platforms/Products Used:

  1. Logmor Cellular Smart Outlet with API: This is the hardware device that allows you to remotely control and monitor electric outlets, such as those used for e-bike charging. It provides an API (Application Programming Interface) to interact with it programmatically.
  2. Logmor Device Management Portal:  Activate Device the Logmor Smart Outlet and obtain an AuthToken used for API integration.
  3. Zapier: Zapier is an automation platform that connects various apps and services. It allows you to create workflows (Zaps) that automate tasks between different applications.
  4. Stripe: Stripe is a popular online payment processing platform that allows you to securely handle payment transactions.

Step 1: Set Up Logmor Cellular Smart Outlet

  • Purchase and install the Logmor Cellular Smart Outlet(s) at your e-bike charging stations. Ensure they are activated at https://device.logmor.com and the AuthTokens has been generated. Take note of the AuthToken. Power up the device.

Step 2: Create a Stripe Account

Step 3: Set Up a Zapier Account

Step 5: Set Up Stripe Product and Payment Link

  1. Login into Stripe, go to Product Catalog and Add a Product
    • Name the product: E-Bike Charging Services or whatever you desire
    • Unit Label: minutes or hours or days
    • Price: $1.00 or whatever you desire
    • Select One-time Charge
    • Click Save Product
  2. Now go back to the product that has just created, click on the Price under the Pricing section and add Metadata field
    • DeviceID: {device ID#}
  3. Go to Payment Links and Create a Payment Link
  4. Find the product that you created in Step 1 and change any other options as desired. Also, copy the Payment Link QR code, print it as a sticker and place the sticker in a visible location for customers to scan and make payments.
  5. This will be it for now in the Stripe portal, now go to Zapier.

Step 5: Create a Zap for Payment Processing

  1. In Zapier, create a new Zap.
  2. Name the zap “Logmor Cellular Smart Outlet
  3. Set the first trigger to Stripe, choose the event as “Checkout Session Completed“, select your Stripe account and run the Test
  4. Now select your next trigger as Webhooks by Zapier, choose event as POST and complete the following info:
    • URL: https://api.particle.io/v1/devices/{deviceID}/control
    • Payload Type: Form
    • Data:
    • arg=1
    • Access_Token= {token from the device.logmor.com portal under the CloudAPI tab}
  5. Click Test step
  6. Now select your next trigger as Delay by Zapier, select Event Delay For
  7. Use the value from the Stripe Checkout Session {line_items quantity}, select the desired Unit, click Test step
  8. Now select Step 2 tigger and paste it below step 3 tigger or you can recreate it using instructions in step 4 by changing the arg=1 to arg=0
  9. Test the trigger to ensure it’s working correctly and active it.

By following these steps, you can create a seamless payment solution for e-bike or any other charging services using Logmor Cellular Smart Outlet, Zapier, and Stripe. This integration automates the payment collection process, making it convenient for both you and your customers.