I am getting this error. How do I make this work so that it redirects back to the site for an order.
It says payment unsuccesful - but setcom payment was successful ?? Only customer gets this error on redirect back to website.

warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /usr/www/users/clever/modules/uc_setcom/uc_setcom.module on line 537.
Your order has been Declined.

Sorry your payment to was unsuccesful.

The order has not been processed

Error Code: TSYNC00002
Error Description: Unable to locate transaction.
Error Solution: Please retry. If the error persists, please contact support@setcom.com

Comments

lizardalpha’s picture

Try:
curl_setopt($ch, CURLOPT_HEADER, 0);

Also it would seem that the data posted to the Setcom server is incorrect, as you get that error when your data is incorrect. Make sure the username, merchid and password you set up is correct

spikeadelika’s picture

Since my payments are working and going into setcom I am sure the login details are right - but just the redirect back to the website gets errors.

kiepersol’s picture

Have you solved this problem? I get the exact same problem! I have been told to change to the uc_monsterpay module (did not read about that anywhere on the web) by Setcom Support, but the error is still occurring. I am worried now about using setcom/monsterpay as a payment module!? Should I be?

asciikewl’s picture

Component: User interface » Code
Priority: Critical » Normal

I found the uc_monsterpay here: http://www.monsterpay.com/help/downloads/uc_monsterpay.zip

Gave some error when activating that because of duplicate keys in uc_order_statuses. I'm pretty sure that won't happen when you didn't have the uc_setcom module installed.

Except for that it worked 1st time :)

Max_Headroom’s picture

Status: Active » Closed (won't fix)

Interesting
Seems like they went ahead and rebranded this module without me knowing about it.
They have also removed the CA which are used to set the states after returning.
Unfortunately I can not support a module that I did not change or maintain on Drupal.