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:

  • 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.
  • 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.
  • 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

  1. 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

  1. If you don’t already have one, sign up for a Stripe account at Stripe’s official website.

Step 3: Set Up a Zapier Account

  1. If you don’t already have one, sign up for a Zapier account at Zapier’s official website.

Step 4: Set Up Stripe Product and Payment Link

  1. Login into Stripe, go to Product Catalog and Add a Product
  2. Name the product: E-Bike Charging Services or whatever you desire
  3. Unit Label: minutes or hours or days
  4. Price: $1.00 or whatever you desire
  5. Select One-time Charge
  6. Click Save Product
  7. Now go back to the product that has just created, click on the Price under the Pricing section and add Metadata field
  8. DeviceID: {device ID#}
  9. Go to Payment Links and Create a Payment Link
  10. 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.

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:
  5. URL: https://api.particle.io/v1/devices/{deviceID}/control
  6. Payload Type: Form
  7. Data:
    arg=1
    Access_Token= {token from the device.logmor.com portal under the CloudAPI tab}
  8. Click Test step
  9. Now select your next trigger as Delay by Zapier, select Event Delay For
  10. Use the value from the Stripe Checkout Session {line_items quantity}, select the desired Unit, click Test step
  11. 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
  12. 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.