Documentation

3 minutes read

Facebook Login

The Facebook Login integration gives your users the ability to skip normal registration and login directly with their Facebook account.

  1. Go to the Facebook Developers page.
  2. Make sure to log in to your Facebook account.
  3. Click on the My Apps menu dropdown and click on Create app.
  4. Add your details to the form and click submit the form to create the new app.
  5. Go to Settings from the sidebar menu and click on Basic.
  6. Fill out your Facebook app details in there.
  7. From the sidebar, under Facebook Login click on the Quickstart link.
  8. Click on the Web platform and add your website URL. Skip the next steps.
  9. From the sidebar, under Facebook Login click on the Settings link.
  10. In the Valid OAuth redirect URIs field, add your website's URL in this format: https://newlyproof.com/login/facebook 
  11. Save the changes.
  12. Go to the App Profile page and copy the App ID and App Secret.
  13. Go to your new Product's Admin Panel -> Website Settings -> Facebook Login Tab and enter the App ID and App Secret keys.
  14. Make sure to Enable Facebook Login and Submit the new settings.

PayPal

PayPal integration gives your users the ability to pay via PayPal on your website.

  1. Go to PayPal Developer Console and log in to your account after clicking the Log into Dashboard button
  2. Go to the REST API apps section and click the Create App button.
  3. Add your own details for the new app and create it.
  4. Switch to Live by clicking the button near your new App's Name.
  5. Copy the Client ID and Secret
  6. Go to your new Product's Admin Panel -> Website Settings -> Payment Tab and enter the Client ID and Secret keys.
  7. Make sure to also switch the Mode to Live and Submit the new settings.
  8. Go to the newly created App in the Paypal Developer Console and click on the Add Webhook button.
  9. In the Webhook Url field, add your website's URL in this format: https://newlyproof.com/webhook-paypal 
  10. In the Event types field, check the Payment sale completed the event and submit the Webhook.

Stripe

PayPal integration gives your users the ability to pay via Stripe on your website.

  1. Go to Stripe Dashboard and login to your account.
  2. Go to the Stripe API Keys page.
  3. Make sure your API keys are set to Live Mode so that you can accept real payments.
  4. Copy the Publishable key and Secret key.
  5. Go to your new Product's Admin Panel -> Website Settings -> Payment Tab and enter the Publishable key and Secret Key.
  6. From the sidebar, under Developers click on the Webhooks link.
  7. Click on the Add endpoint button
  8. In the Endpoint URL field, add your website's URL in this format: https://newlyproof.com/webhook-stripe 
  9. In the Events to send field, select the checkout.session.completed, invoice.paid, invoice.upcoming and click the Add endpoint button.
  10. Copy the Signing secret key and paste it in the product's Webhook Secret field in the admin panel.

Offline payments

The offline payment integration gives your users the ability to pay offline (bank transfer, for example), give you the proof of payment, and receive what the customer paid for when the payment is approved.

  1. As an admin you can enable the offline payments system from the Admin Panel -> Website Settings -> Payment tab.
  2. In the Instructions field, you can write details for the user on where to send an offline payment.
  3. The customer will have the ability to choose the offline payment method when checking out.
  4. The customer will see the Instructions for the payment and also be required to upload a proof of payment.
  5. When the customer checks out, the admin will need to go in the Admin Panel -> Payments page and review the proof of purchase and then, approve it.
  6. After the approval, the customer will get the plan that was chosen
  7. If the proof of payment is not correct and the payment is fake, simply delete the payment from the list.
 
Last updated on: 8 September, 2020