strangerstudios / pmpro-payfast

Add the South African payment processing service PayFast as a gateway option for Paid Memberships Pro.
https://www.paidmembershipspro.com/add-ons/payfast-payment-gateway/
5 stars 13 forks source link

Not changig Membership Status #14

Closed ghost closed 5 years ago

ghost commented 6 years ago

Hi,

I have 3 Subscription levels, one of them is Free and the other two ones are paid subscriptions. The moment a member pays via payfast it does not change the usergroup from Free/New user to Premium User. I have to change every user manually through the backend.

How can I automate this?

Best,

M

andrewlimaza commented 6 years ago

Hi Martin,

Thank you for using Paid Memberships Pro. We are currently aware of this issue with PayFast Add On.

The PMPro PayFast Add On is still a work in progress and is under active development.

Thank you for posting to the correct repository. We are planning to solve these issues in the near future, for the time being you should still be able to use the code supplied on Payfast's site.

ghost commented 6 years ago

Hi Andrew,

thank you for your fast response. The code and payment is working without a problem. OK will look for future updates and will change the membership status manually.

Best,

M

andrewlimaza commented 6 years ago

Thank you for this Martin, it's really no problem at all. We are eager to get this release working, it is really close with some final tweaks.

This code was inherited from the PayFast website (with permission etc.) to be turned into a plugin so there are some kinks we are helping them in fixing and we are nearly there. I've already done a small Pull Request to help fix an issue where it wasn't changing membership levels while testing in sandbox mode.

I'm not sure if you are currently using the live URL or in sandbox mode?

I believe there is one more issue we need to sort out now with this version and then we should be good for more thorough testing. I'm sorry on the delay on this, we try to get things as stable as possible before releasing it publicly.

FWIW here is the Pull Request -> https://github.com/strangerstudios/pmpro-payfast/pull/15

andrewlimaza commented 6 years ago

Hey Martin,

I hope you are well, it looks like we've managed to solve a couple of those issues. Please feel free to retest this on your staging site and let me know of any other issues you may come across.

Please note that if you are testing this on sandbox mode, you have the ability to run a subscription charge. If you run this subscription charge within 2 days of the initial order, it may not create a new order as the PayFast gateway only supports Monthly / Yearly within the PayFast PMPro Integration.

I hope this helps and look forward to hearing from you.

ghost commented 6 years ago

Hi Andrew,

So basically I can download the latest version from Github and upload/overwrite it on my installation?

andrewlimaza commented 6 years ago

Yea you could do that :)

andrewlimaza commented 6 years ago

It seems that this is resolved in previous updates.