Really Simple Payments with Stripe and PayPal
Setting Up Really Simple Payments With Stripe
Really Simple Payments is another plugin created by the Groundhogg team which makes collecting payments easier and faster for users.
Using Groundhogg’s Really Simple Payments, users can create a onetime charge as well as subscription charges for their users.
Really Simple Payments uses Stripe to process all the payments. When you install Really Simple Payments you will be able to see a new settings tab inside your website where you can configure settings of your currency, taxes and Stripe account.
In the currency section, you need to select a currency that you wish to charge your customers. You can only charge your customers one currency at a time. The default currency for your site is set to USD, yet can be changed to reflect the currency you wish to charge. When it comes to style, there are two separate options on how to display the currency to your users. You can enable the design options to separate thousands by a dot instead of a comma. Apart from that, you can also set the currency symbol position while displaying it on your website.
Really Simple Payments also provides an option to collect taxes. In order to set your taxes to a certain country, you can choose the corresponding location in your settings. There is an option for enabling and disabling taxes on your settings page. If the collect taxes setting is disabled then Really Simple Payments will charge a flat amount.
To connect your payment options with Stripe, you must connect Groundhogg with your Stripe account.
The Stripe settings contain your Stripe Test Key and Live Key, which you can access from your Stripe account.
Test Keys are used when test mode is enabled from the settings area.
Adding Webhook Manually
When a user installs Really Simple Payments and tries to connect with Stripe, Groundhogg tries to create a webhook for Stripe and subscribes to it when user access keys are added inside Really Simple Payments. This allows Stripe to communicate with your site.
But in some cases, Groundhogg is unable to create the webhook. If this happens you will see a warning in your dashboard. Follow these instructions to create the webhook manually.
To add the appropriate webhook endpoints, in your Stripe dashboard go to Developer → Webhooks (direct link).
Once you have successfully navigated to the Stripe dashboard you need to click on the add new endpoint button which will open the new window to enter information.
In this window, you need to enter your website’s Stripe URL and event for which notification is sent from Stripe. You can get your endpoint URL from your Really Simple Payments settings area.
Really Simple Payments listens for the two different events from Stripe which is “invoice.payment_succeeded“ and “invoice.payment_failed”. You need to select these two events from the drop-down list of events to send.
Once you successfully configured the required details about your endpoint, click on the “add endpoint” button which will create the new webhook inside your Stripe account and send the information about the subscriptions to your website.
When your endpoint is successfully created it opens the webhook description page which contains the information and activity of your webhook. Here, you can see the signing secret of your website. You need to copy and paste that inside your Really Simple Payments setting area to successfully configure the webhook.
Once you copy and paste the key successfully, you will able to see that the notice is removed and your set up is completed.
Setting up Payments
Really Simple Payments is packed with custom benchmarks that you can access from the funnel builder. These benchmarks are used to create a payment form that will allow the admin to collect payments from their users.
Shortcode: The shortcode is generated for the payment form which you can copy and paste on your webpage to collect payments from users.
Product Name: This is the name of the product which will be displayed on the purchase screen, it will also be reflected in the bill given to users
.Price: Price of the product without taxes.
Is Recurring: Using this section you can toggle between a one-time charge and the subscription charge. If this option is enabled that means it’s a subscription charge. If it is not enabled this means the user will receive a one-time charge.
Recurring Settings: These settings are used to configure subscription payments. Here, you can select the length of the subscription and the number of trial days a user has before the first time charge.
Billing Address: If this option is enabled Groundhogg collects the user’s billing address. You have an option to enable or disable the billing address when taxes are not collected. Enabling taxes automatically removes this option and the billing details get collected for every payment. Collecting a billing address can help reduce fraudulent charges so it is recommended to collect it.
Shipping Address: If this option is enabled then the shipping address of the user gets collected while making a payment. This address is stored inside the contact meta.
Stay On Page: This option is used to manage how the form submissions are handled. If this option is enabled then the user will stay on the same page and a success message will be displayed at the end of the transaction. If this option is not enabled then the user will be redirected to the thank you page entered in the next setting.
Success Message: This option contains a text which will be displayed on the page once the transaction is completed successfully and the stay on page option is enabled.
Thank You Page: Contains the URL of the page where users will be redirected at the end of the transaction when the stay on page option is not enabled.
Apply Tags: In this section, admins can define tags that will be applied to the user when a transaction is completed successfully by the user. These tags are useful to run automation in Groundhogg.
Payments and Refunds
Groundhogg provides the functionality to administer your payments and subscriptions from your admin area. These tabs provide advance search functionalities which makes finding a specific transaction easier for the admins.
Payments and Refund
The payments tab displays all the payments collected by Groundhogg’s Really Simple Payments. This payment section displays various details of payments like the status of payment, the amount charged, and the type of charge. This section also provides the functionality to export a list of payments. Payment can fall into one of the four categories described below.
Complete: Payments go into this state when the one-time charge of a payment is completed successfully.
Renewal: Payments go into this state when the subscription charge is charged successfully by Stipe.
Refunded: Payments go into this state when the transaction is refunded. This status is only updated if the transaction is refunded from Really Simple Payments.
Failed: Payments go into this state when Stripe has failed to charge the subscription payment successfully.
By clicking on the View button next to any payment, admins can access all the details available for the payment. The admin can also refund payments on this menu as well.
This page displays a detailed description of the payment with the ID and links.
For one-time payments, only one action will become available to the user when viewing this payment, which will be the refund option.
However, for subscriptions, two actions become available for both refunds and the cancellation of a subscription.
Apart from that, you can go directly to your Stripe account to manage your transaction by clicking on the Transaction ID.
Subscription and Refunds
The subscription module is an integral part of Really Simple Payments. You can view a list of all the subscriptions and status of the subscriptions. Subscriptions contain three different statuses which are explained below.
Active: Subscriptions go into this state when a recurring payment is accruing and the user is using the product successfully.
Cancelled: Subscriptions go into this state when a subscription is cancelled by the user or admin.
Trialling: Subscriptions go into this state when users are still in a free trial period of the subscription.Admins can access the advanced view of the subscription by clicking on the view button next to the subscription. An advanced view of the subscription provides full details about the subscription. Here, admins can see details of the user as well as subscription and amount getting charge during each recurring payment. The admin can also view subscriptions inside their Stripe account by clicking on the subscription link. Subscription views also provide two different actions that the admin can take. “Cancelling the Subscription” and “Refund All Transaction & Cancel Subscription”.
Collecting PayPal payments
Using Groundhoggs really simple payments now users will be able to collect payments using PayPal.
With the plugin update, you can see a new section in the settings area of your RSP plugin. These settings are used to configure PayPal payment
To configure settings you need to enter your business PayPal email and all the API details to manage all the payments and subscriptions.
To get your API credentials Go to the Account Settings page and then select Account access. Here you can see API access field click on update.
On the next page find NVP/SOAP API integration and open link. On this page, you will find your account details which you need to enter in your groundhogg settings area.
You can use your send box account to test groundhogg’s really simple payment. For that, you need to enable test mode. You can do that by clicking Test mode under the stripe section.
NOTE: RSP uses PayPal’s IPN notifications to update the status of payments and Subscriptions and IPN notifications are not instant. thus it might take some time to update the status of transections.
Groundhogg provides two reporting views for payments that are collected by Really Simple Payments. You can view the total amount of earning among all the payments that are collected, or you can view the amount of earning overtime for a particular payment form.To view your total earnings between all the funnels you can navigate to the Dashboard area of your website where you can find the Widget named Earnings Over Time. This widget is added by Groundhogg’s Really Simple Payments and allows you to view a summary of all the product sales among all the funnels, as well as the total amount of earning by all the funnels.
To view sales collected by specific payment forms you can visit the funnel which contains that payment form and enable the reporting view to see the sales and earnings of that funnel. If the payment is a subscription, then each recurring payment counts toward the total earnings.
Creating PayPal Test Account
If you want to test really simple payment you can do that using the test account of PayPal.
If you already have a Paypal account then you can skip this step and move to the next one. if you don’t have a Paypal account then you can sign up by clicking on this link.(Click me).
Once you have a Paypal account you can log in into the developer console using the same login details.
Go to https://developer.paypal.com/ and click on the login button.
Once you completed the login procedure it will take you to the developer dashboard.
What we are interested in is the Accounts tab. Using this account tab you can create test accounts and test Really Simple Payment. On this page, you can see the list of test account and you can also add new ones.
Once you have the access to test account you can log in inside your account test account on the sandbox site of PayPal(Click me to go to the sandbox). you will see a similar site on the sandbox and you can use this site to test transactions.