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

Signature Mismatch #30

Closed ghost closed 5 years ago

ghost commented 5 years ago

Good Day If one uses a normal payfast plugin, the sandbox default testing merchant ID and merchant Key works. Have tested this and it works fine. When using this plugin as an add on with Paid Membership Pro, did the same thing with same merchant ID and merchant Key from the sandbox.payfast.co.za, it keeps giving signature mismatch. I have followed the instructions and I am at a loss with this add on.

andrewlimaza commented 5 years ago

Hi @JeffGeyer,

Thank you for using Paid Memberships Pro PayFast Add On. I'm sorry to hear about the issue you are facing.

We need a bit more information regarding this. Does this occur for recurring memberships only?

Do you have a Passphrase setup in your PayFast merchant account?

ghost commented 5 years ago

Good Day Andrew

Thank you for getting back to me. It does it also for once off test payments.

I have asked a friend who is a web developer to further look into this for me and she will let me know what's going on.

The strange thing is, I used default payfast credentials, the redirect to sandbox.payfast and still get the signature mismatch.

If she doesn't come right, I will let you know so that we can organize how much I will be charged for a support developer to look into fixing it for me.

Kind Regards Jeff

On Mon, Jan 7, 2019 at 9:41 AM Andrew Lima notifications@github.com wrote:

Hi @JeffGeyer https://github.com/JeffGeyer,

Thank you for using Paid Memberships Pro PayFast Add On. I'm sorry to hear about the issue you are facing.

We need a bit more information regarding this. Does this occur for recurring memberships only?

Do you have a Passphrase setup in your PayFast merchant account?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/strangerstudios/pmpro-payfast/issues/30#issuecomment-451847315, or mute the thread https://github.com/notifications/unsubscribe-auth/AbeO1c8Y05AVF2GFapYu2XEP0WoxsZNrks5vAvoxgaJpZM4ZyHfI .

-- Jeff Geyer

andrewlimaza commented 5 years ago

Thanks for the feedback Jeff, please let me know any specific steps to recreate this issue.

I would like to try and recreate this issue on my end.

ghost commented 5 years ago

Hi Andrew

My website designer can't get it right.

There aren't really any specific steps to recreate the issue.

It's like this:

  1. Installed the Paid Membership Pro.
  2. Installed the Paid Membership Pro Payfast plugin
  3. Created Payfast account and verified the account.
  4. Add all information such as the Merchant ID and Merchant Key as found in the payfast account login.
  5. Run the website and the plugin in test mode.
  6. Signature Mismatch happens.
  7. Double checked that all information is correct.
  8. I shouldn't have to go and fiddle with coding as it is a plugin that is developed that takes in payfast information and should work without any issues. So either the coding is with payfast plugin or with Paid Membership Pro.

I have emailed Payfast and they told me to run test transaction, no luck so I have emailed support what they would charge to look into this and I've told them if it's going to be expensive, I'll rather look for an alternate gateway.

Jeff

On Mon, Jan 7, 2019 at 2:36 PM Andrew Lima notifications@github.com wrote:

Thanks for the feedback Jeff, please let me know any specific steps to recreate this issue.

I would like to try and recreate this issue on my end.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/strangerstudios/pmpro-payfast/issues/30#issuecomment-451921309, or mute the thread https://github.com/notifications/unsubscribe-auth/AbeO1ZbBvcSMLJrl_u0JezpwBqFTZbx6ks5vAz8vgaJpZM4ZyHfI .

-- Jeff Geyer

andrewlimaza commented 5 years ago

Thanks for the feedback Jeff, I just tested this and it works as intended on my staging site.

Please can you ensure that your sandbox details are retrieved from sandbox.payfast.co.za and ensure you have a Passphrase set in there.

These details are different to your live details, please let me know if this helps.

ghost commented 5 years ago

Hi Andrew

Thank you so much. Everything is working 100%. As you said, I went to the sandbox with email address and put my passphrase in, then back to website in testing mode. It worked. Then I just tried the live transaction with my own payfast details and the payment works as needed.

Thank you for your time and effort.

Kind Regards Jeff

On Mon, Jan 14, 2019 at 10:48 AM Andrew Lima notifications@github.com wrote:

Thanks for the feedback Jeff, I just tested this and it works as intended on my staging site.

Please can you ensure that your sandbox details are retrieved from sandbox.payfast.co.za and ensure you have a Passphrase set in there.

These details are different to your live details, please let me know if this helps.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/strangerstudios/pmpro-payfast/issues/30#issuecomment-453933494, or mute the thread https://github.com/notifications/unsubscribe-auth/AbeO1VBBwxpwyIQDPNn-2h0iMhapQy0bks5vDERygaJpZM4ZyHfI .

-- Jeff Geyer