Using PayPal in Datto Networking

Follow

Topic

This article describes how to configure PayPal to integrate with splash pages for Datto access points.

Environment

  • PayPal
  • Datto Access Points

Description

With PayPal, you can charge users for access to your network based on time increments or bandwidth tiers.

Key features

  • All payments go directly to you; Datto does not take a cut.
  • Under Paypal's Website Payments Standard, you will only pay transactions fees—no commission or monthly fees.
  • You keep control of the look and feel of your splash page and only add a PayPal Buy Now button.
  • With automatic MAC Authentication, you can allow users to roam between nodes without seeing the splash page again.
  • You can offer multiple bandwidth tiers, or offer a free lower-speed service tier and one or more paid tiers at higher speeds.

Steps you will take

  1. Create a Business PayPal account where you can receive payments. You can also use existing accounts.
  2. Enable auto-return and Payment Data Transfer in PayPal and integrate this into Datto Networking.
  3. Create a Buy Now button and payments page at PayPal.
  4. Integrate PayPal into your Datto Networking splash page.

Procedure

The following procedure requires a Business Paypal account with PayPal Payments Standard enabled. If you are creating a new account, navigate to https://www.paypal.com/bizsignup/, and select PayPal Payments Standard when configuring your account.

If you have a Personal PayPal account, you can upgrade to a business account to access the required features.

Enabling auto-return and Payment Data Transfer (PDT)

1. Click the Profile button and select Profile and settings from the drop-down.

1.pngFigure 1: Profile and settings (click to enlarge)

2. Select My selling tools, navigate to Website preferences, and click Update.

2.pngFigure 2: My selling tools (click to enlarge)

3. Select the On radio button under Auto return and enter https://paypal.cloudtrax.com/v2/return in the Return URL field.

3.pngFigure 3: Website payment preferences (click to enlarge)

4. Select the On radio button under Payment data transfer.

5. Copy the Identity Token value. We will use this in a future step.

6. Click Save.

Creating your Buy Now button

1. Return to the PayPal home page. Click the Profile button, and select Business Setup from the drop-down.

4.pngFigure 4: Business setup (click to enlarge)

2. For Payment Processing, select Process all payments through PayPal.

3. Under Now, how do you want to set up PayPal on your website?, choose Option B for Add HTML buttons to your website yourself.

5.pngFigure 5: Create payment buttons (click to enlarge)

4. Click Create Payment Buttons to begin the button creation process.

6.pngFigure 6: Create PayPal payment button (click to enlarge)

5. Choose Buy Now for button type.

6. Enter Internet Access in the Item Name box.

7. In a separate window, start a web session for your network, navigate to Configure → SSID, and copy the Item ID string under PayPal.

7.pngFigure 7: PayPal Item ID (click to enlarge)

8. Returning to the button creation process, paste the Item ID string into the Item ID field. This is how Datto Networking will know what network users belong to when they purchase.

8.pngFigure 8: Item ID in PayPal configuration (click to enlarge)

9. In the Customize Button section, select the Add drop-down menu with price/option.  checkbox.

9.pngFigure 9: Customize button (click to enlarge)

10. Enter Purchase or a title of your choice in the Name of drop-down menu field.

11. Enter your duration and price values in the Menu option name and Price fields. Datto Networking processes time durations entered as numerical hours, days, weeks, and months (i.e. 3 hours).

For non-English words, modify the PayPal-generated code. The following example replaces the English word hour with the Spanish equivalent hora:

<option value="1 hour">1 hora $1.00 USD</option>

12. Click Step 3: Customize advanced features (optional).

10.pngFigure 10: Step 3: Customize advanced features (click to enlarge)

13. Set the following options to No:

  • Do you want to let your customer change order quantities?
  • Can your customer add special instructions in a message to you?
  • Do you need your customer’s shipping address?

11.pngFigure 11: Customize checkout pages (click to enlarge)

14. Select the Add Advanced Variables checkbox, and in the box below, enter:

notify_url=https://paypal.cloudtrax.com/v2/notify

return=https://paypal.cloudtrax.com/v2/return

15. Click Create Button at the bottom of the page.

16. Review your newly created button. When you are finished, click the Select Code button, copy the HTML code, and paste it into a notepad for future use.

12.pngFigure 12: Website HTML (click to enlarge)

Adding the button to your splash page

1. Return to the web session for your network.

2. Navigate to Configure Vouchers, and scroll to the PayPal section.

3. Configure the following options:

  • Clients Per Voucher: Enter the number of client devices per PayPal purchase, typically one to five, and up to ten.
  • Download Bandwidth: Enter the download bandwidth per client device in kbps. For example, 500 kbps is 500 and 1.5 Mbps is 1500.
  • Upload Bandwidth: Enter the upload bandwidth per client device in kbps
  • PayPal Identity Token: Paste the Identity Token value from Enabling auto-return and Payment Data Transfer (PDT).
Configure Bandwidth Throttling for each SSID using PayPal to also throttle traffic accessing the splash page.

1. In the same web session for your network, navigate to Configure  SSID.

2. Scroll to the Splash page section.

13.pngFigure 13: Splash page configuration (click to enlarge)

3. Select Custom as your Splash page type.

4. Click the Edit Splash Page button.

5. Using the Template drop-down, select your configured Splash Page or another template pre-staged.

6. Click the HTML editing (<>) button at the top left of the editor.

14.pngFigure 14: Edit splash page (click to enlarge)

7. Scroll the page down to the bottom. Look for the lines <-- PayPal Button Start --> and <-- PayPal Button End -->.

15.pngFigure 15: Sample HTML (click to enlarge)

8. Select the sample PayPal button code (everything between the above lines) and delete it. Paste the copied HTML code generated from Creating your Buy Now button.

9. Click the Preview tab below your splash page to review. Look for a voucher entry field and your new PayPal Buy Now button.

10. Click Save Changes. It will take 10-15 minutes for all access points on the network to update.

Testing your new splash page with PayPal

1. Connect to your configured SSID. The splash page should display along with your PayPal Buy Now button.

2. Click the Buy Now button.

16.pngFigure 16: Completed PayPal button (click to enlarge)

3. Purchase one of your options using a different PayPal account, or use the Credit card as a PayPal Guest option.

4. After completing the purchasing process, a transaction verification page will display, alongside your Voucher Code. This also sends the code to the email address used in the purchasing process.

17.pngFigure 17: Voucher Code (click to enlarge)

5. Click Begin Browsing. Verify that you can browse the Internet.


Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Want to talk about it? Head on over to our Community Forum!