• Gold Cart 3.2.1
    WP e-commerce 3.12.2

    Yes, I know there’s an update. I’ll be adding that shortly, but that’s not the issue.

    Gold Cart’s Authorize.net gateway isn’t working for me currently, and it did the last time I checked it out. I’m trying to test a website design and it’s currently attached to the sandbox. I’m sure my keys are correct and I’ve even reissued the transaction key, but the site doesn’t seem to be communicating with AN at all. I’m on leased hosting with limited access to logs and my apache error and access logs related to my checkout page aren’t showing anything useful.

    Thus, the question: Does wp-ecommerce/gold cart have any debug functionality I can turn on/access that will help me debug this. I can’t seem to find anything, and the site documentation isn’t very helpful.

    Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Steve Weigold

    (@sweigold)

    Follow up. Yes, I have WordPress’ debugging turned on, but there’s nothing useful there either.

    Thanks!

    What do you mean by “the sandbox”?

    If you take the gateway code and add error_log() calls do they appear in the apache error log for you to view? Then you could see which bits of code are getting called.

    Thread Starter Steve Weigold

    (@sweigold)

    @whitelamp, thanks for your reply.

    When developing with Authorize.net (and Paypal for that matter and I’m sure others) you have the ability to create a merchant account in the “Sandbox” (sandbox.authorize.net) which is similar to putting a regular account in “test mode” but provides a whole host of additional abilities to more thoroughly test your design plus allows the use of fake card numbers and such. Let the kiddies go play in the sandbox as it were…

    Sandbox accounts do not do any real processing, but behave as if they did.

    I just realized I’m making an assumption which may not be accurate. I would expect when Gold Cart is in test mode that it’s sending calls to the Sandbox API, rather than the main API. They are different URLs. Can anyone confirm this is the case? I can’t remember when this worked before if I was using the Sandbox or a regular account in test mode.

    As for error_log calls, sure. I can do that. I can also trigger_error and get the results in the WordPress debug log as well. I was really trying to avoid modifying the plugin code. I hoped, especially with something as involved as a secure credit card transaction that there would be at least a log somewhere I could view first. Plenty of things to potentially go wrong.

    I inherited this design from another developer that was contracting with multiple offshore subcontractors. It’s already enough of a sh*t sandwich of spaghetti. I’d like to avoid making it worse by digging into the code of a standard plugin.

    I’m about to the point though where I’m going to set the whole thing up on a local server and fire up Xdebug.

    Thanks again for the response.
    Steve

    “I would expect when Gold Cart is in test mode that it’s sending calls to the Sandbox API, rather than the main API. They are different URLs.” – run an eye over the code – shouldn’t be too hard to search for the URLs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gold Cart and Authorize.net’ is closed to new replies.