2
1 Comment

Paypal integration with Laravel

Stripe and Braintree are not available in my location, so I've to use Paypal.

I'm trying to figure out the technicalities and best practices , since it's my first time integrating payments.

My vision:
Phase 1: At launch - users will register and then be able to access the content for free.
Phase 2: 1-2 months after launch I imagine a registration form that once submitted will take the users to Paypal to pay. Once they pay the system will register them and allow for 30 days access. After that, a renewal will be needed when they try to log in.

  • How to create a smooth transition between the phases?
  • What do I need to set-up for phase 2 before phase 1 even begins?
  • Am I over complicating things?
on February 19, 2020
  1. 1

    Have you looked into Paddle.com? it supports both Paypal & Credit card payment and also handles sales tax.

    You could limit the features and add an "Upgrade" button for Free users at launch to upgrade to premium.

    Webhook is needed to monitor renewed and cancelled subscriptions and then take the necessary actions based on each event.