This article describes how to configure PayPal to integrate with splash pages for Datto access points.
- Datto Access Points
With PayPal, you can charge users for access to your network based on time increments or bandwidth tiers.
- 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
- Create a Business PayPal account where you can receive payments. You can also use existing accounts.
- Enable auto-return and Payment Data Transfer in PayPal and integrate this into Datto Networking.
- Create a Buy Now button and payments page at PayPal.
- Integrate PayPal into your Datto Networking splash page.
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.
2. Select My selling tools, navigate to Website preferences, and click Update.
3. Select the On radio button under Auto return and enter https://paypal.cloudtrax.com/v2/return in the Return URL field.
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.
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.
4. Click Create Payment Buttons to begin the button creation process.
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.
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.
9. In the Customize Button section, select the Add drop-down menu with price/option. checkbox.
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).
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?
14. Select the Add Advanced Variables checkbox, and in the box below, enter:
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.
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, you can add up to ten.
- Download Bandwidth: Enter the download bandwidth per client device in Kbps.
- 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).
1. In the same web session for your network, navigate to Configure → SSID.
2. Scroll to the Splash page section.
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.
7. Scroll the page down to the bottom. Look for the lines <-- PayPal Button Start --> and <-- PayPal Button End -->.
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.
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.
5. Click Begin Browsing. Verify that you can browse the Internet.