NB. currently working on localhost and testing pro sites.


NB. currently working on localhost and testing pro sites.

1. i setup three plans, Pro, Pro 2 and premium.

2. i configure the paypal settings using a Business Account (NOT PRO). The pro sites setting i set a 14 days free trial.

3. created a site called demo.

4. i selected Pro 2 plan, and i redirect to the paypal and enter my test api credentials. Click the Login button , and agree the terms .

4. am redirected back to the main site

5.but thats when things went south, when am redirected to the site, the pro sites level never changed, because pro sites level PRO is the one that is given the free trial. and i had upgraded to PRO 2 but still not update the level to PRO 2.

6. i take a look at the pro site table, thought it might have been browser caching the page locally etc.. so in the pro_Sites table the site ID with 8, is the one i was trying to upgrade to PRO 2, if you look carefully the LEVEL did not update to #2, the TERM and the AMOUNT field did not update.

6.so now, i went to main.dev/wp-admin/network/admin.php?page=psts&bid=8 , everything look great in the account history so i should've updated the database. but it didnt.

8. i went to my paypal sandbox notification and check if the payment went through, and it did. so the problem i see is that pro site is not updating the LEVEL number, TERM and AMOUNT in the pro sites table.

Please note that when i try with Stripe , everything work supper great but the problem is that i CAN NOT use stripe because stripe is not internation and am all the way in the Caribbean.

so what i think is that, the problem is probably coming from a function in the pro site gateway that supposed to update the table but not working as it should.

Please if you can try to reproduce it locally , and let me know your result. i would really really and really appreciate it .


  • Sajid
    • DEV MAN’s Sidekick

    Hi @thomas Whittaker

    Hope you are doing good today :slight_smile:

    I tested it on my own site and could replicate the same behaviour. I am marking it as confirmed bug and notifying developer of this issue, so it can be fixed in next release.

    Thanks for bringing into our attention :slight_smile:

    Cheers, Sajid

  • Tom Whittaker
    • The Crimson Coder



    Again i have managed to patch-up pro sites, for previous post. please refer to :



    There are few bugs with the current pro sites, ex:

    1. when click on paypal button, all it does is refresh the page.

    2. coupon apply in checkout page but not on paypal

    3.users unable to upgrade/downgrade their subscription etc.

    and maybe few other bugs, but so far i have managed to solve 1 and 3. still working on the coupon.

    Here's what i've done, i downloaded an older version of pro sites, V3.5 because it was the less buggy one, so i installed it and activated everything works fine, except the coupon. so after few digging on that version and compare it with the latest version i realize the problem lies within the gateways folder. so i replace all files from the current version to version 3.5 except, these files:

    pro-sites/pro-sites.php NB. all i did in that file was change the version number to Version:




    NB. am still comparing those files with the current version to see if i can pinpoint the location or where new functions were added and inspect each function if possible and then hopefully i will be able to update those files with the most accurate/latest function from the current version.

    To prove that after i made these changes , everything works . please see the attachments.

    NB. i tested it on WP default theme. 2015, 2014, xampp server,

    Please let me know if you wish me to upload a copy of the patch i've created.

  • Sajid
    • DEV MAN’s Sidekick

    Hi @thomas Whittaker

    Hope you are doing good today :slight_smile:

    Thanks for reporting bugs and coming up with a solution/workaround. Much appreciated. I am sure our developer get notified about the issue and changes you made and he will consider fixing the core.

    Take care and have a fantastic day :slight_smile:

    Cheers, Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.