Skip to content

Subscription page with Razorpay PHP Integration (Codeigniter)

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt
Notifications You must be signed in to change notification settings

MazahirHaroon/Razorpay-Subscription-Codeigniter-

Repository files navigation

Razorpay-Subscription

A subscription page with Razorpay Razorpay PHP Integration

Technologies used

Subscription Page

Contents:

  1. Subscription Screen, with three Plans Cards.
  2. Checkout-form integration.
  3. Payment authorization and capturing using Razorpay.
  4. Creation of Customer and Subscription plan using Razorpay API
  5. Local table updation with customer and subscription details.

How do I get set up?

  • To run server side code locally you can use LAMP, WAMP, MAMP, or XAMP

  • Clone the file and make the necessary changes.

    • .\application\config\config.php

      • Change $base_url
    • ..htaccess

      • RewriteBase \foldername
    • .\application\config\database.php

      • Change the databasse name, username and password
  • Create a database and import subscribe.sql file into it, to create needed tables

(Read this Documentation for issues regarding Codeigniter)

  • Edit the keySecret inside application/controller/mainctrl.php
  • In custom.js
    • Change
      • var url = "../subscribe/mainctrl/rp_cust";
    • To
      • var url = "../your_folder_name/mainctrl/rp_cust";

Razorpay PHP SDK

Make sure that you download the latest version of razorpay-php.zip file from the releases section here. (The assets folder contains the razorpay-php.zip file in this project)

Who do I talk to?

About

Subscription page with Razorpay PHP Integration (Codeigniter)

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages