Cloudstek / whmcs-mollie-payment-gateway

Mollie payment gateway for WHMCS
Other
9 stars 3 forks source link

Payment status stuck at pending #3

Closed dpostma closed 7 years ago

dpostma commented 7 years ago

No idea what to write here...

Steps to reproduce:

I don't know, sorry.

WHMCS version: 7.1.1 PHP version: 5.6 Mollie payment gateway version: Newest Theme: https://themeforest.net/item/spark-responsive-hosting-technology-wordpress-theme/18146709

Enabled addons:

Proxmox module Lara template settings

Enabled payment gateways:

PayPal iDeal Overboeking

Relevant gateway log output:

Payment attempted for invoice 178. Awaiting payment confirmation from callback for transaction tr_SbxNN2svTQ.

Additional information:

Basically the status will not update to active but is stuck on pending instead.

mdeboer commented 7 years ago

Thanks for reporting, based on other emails I received I think it has to do with a WHMCS update. Currently have my hands full on some projects but I will try to fix this in my hours off.

DeSavanger commented 7 years ago

Same problem here.

dpostma commented 7 years ago

UPDATE: It does work, you have to change your WHMCS URL to https in case you're using SSL.

mdeboer commented 7 years ago

@WhiteSasch can you try the solution @dpostma has provided in case you're using SSL? If this fixes the problem for you I'll close this issue but for now I'll leave it open.

DeSavanger commented 7 years ago

@mdeboer I can't do that, because I'm using CloudFlare to auto use SSL, so when I change the WHMCS URL in my WHMCS config to https://, it will give a redirection error in the browser...

DeSavanger commented 7 years ago

@mdeboer https://gyazo.com/9d311032736f247cb6f70ffa37b43a02

dpostma commented 7 years ago

I also use CloudFlare for SSL. Everything works just fine for me.

EDIT: I have a few page rules added in my CF config which redirects all HTTP trafic to HTTPS. Try to configure that.

DeSavanger commented 7 years ago

@dpostma I had also that page rule which redirects all traffic from HTTP to HTTPS. I've now removed that page rule, set in DirectAdmin "Secure SSL" to "true" and "Create a symbolic link from private_html to public_html". I've set my CloudFlare SSL mode to "Full" instead of "Flexible". Now I've changed my WHMCS system URL in the WHMCS config and everything works fine! Issue resolved, no redirect errors anymore and Mollie works fine! My invoice shows "Paid".

mdeboer commented 7 years ago

Good, good! Glad to hear everything is okay now then 🎉

I'll make sure to include a warning in the README for people having trouble when using SSL.