Expected duration: less than 1 week I have a php web application which is using, php7.2, webpack, Codeigniter 3, Apache, Mysql. I need to fix the paypal subscription function and connected functions. (free trial, package upgrade, downgrade, send email)
How the app works: The users can register on the website, choose a package and subscribe with Paypal. There are different packages with different functions in the webapp, so the more expensive package has more functions. There are settings in the admin area. The users can upgrade or downgarde to an other package.
Help: In the code the Stripe subscription is ready to use, but I am in a different country. So I need paypal or Braintree. Paypal option is written also, but there are few problems with them. Maybe it would be better to write a new payment option using Braintree based on the ready Stripe functions.
Here you can see the problems with the application. There is problem with the subscription function, (free trial, package upgrade, downgrade)
Problems: 1.) free trial After free trial the users can use the service without restrictions. I would like to change this, let the users to log in and offer the option to subscribe and untill the payment the service would be restricted.
2.) refund If the users change the package (upgrade, downgrade) the remaining amount would be refunded (prorate) and they pay for new package. The payment for new package is happening, but there is no refund at all. I checked in paypal sandbox.
3.) first payment I see in the paypal sandbox accounts that there is a puchase and a subscription with the same amount. So there are two payments at the time of first payment. The amount of subscrition would be enough.
4.) restrictions after package downgrade: There would be a few restrictions in the functions of the app after downgrade according to the settings. But the user can use the app with the earlier settings without restrictions. But the users can not make new setting with the higher package options. So thisolution is not complete now.
5.) If the subcription is over (the subscription is suspended because failed payment or canceled by the customer in the application or in the Paypal account.) If the subcription is over let the users log in and let the users subscribe for a package. - I see in the database that now the user status switches to 'Inactive' and in this case the user can not login. I would like to allow the users to log in to subscribe again. - Unfortunately the users can use the service even the subscription is over. I would like suspend the service for the unpaid accounts.
6.) payment dates in the database I do not see the change the dates of last payment in the database in the users table. (There is a payment log table in the databese but there is only data only from the first payment.)
7.) admin area customers tab I would need a filter to see the suspended users / trial accounts
There is no cronjob to check the subscription or user accounts. Papyal library, subscription controller and auth controller is in the app which are related to Paypal.
SEO & Social Media Specialist Needed Category: Facebook Marketing, Internet Marketing, Link Building, SEO, Social Media Marketing Budget: $30 - $250 USD