CIM error with MarketPress and Authorize.net

Hello Heroes :slight_smile:

I am having a challenge. I have implemented a site that includes Membership2 and CoursePress. All of the Courses are free with membership, but I am having issues with the Authorize.net integration. I have set up the gateway, all settings live, updated the api login and key, but I get an error when processing payment.

Payment failed due to CIM profile not created: User authentication failed due to invalid authentication values

I’m not sure what to try next.

  • Adam
    • Support Gorilla

    Hello Valencia,

    I hope you’re well today and thank you for your question!

    Please first make sure your Authorize.NET account is fully active and all the data they request was/is supplied there. Make also sure that you’re not using a “test” credentials in “live” mode or other way around.

    Could you please double-check this and let me know if this was the case?

    Best regards,

    Adam

  • Valencia
    • Flash Drive

    Hi Adam,

    Thanks for your prompt reply. I have checked the authorize.net site and it is set to live. I also rechecked the site to be sure I have everything switched from sandbox to live.

    Just for the fun of it …ok frustration of it I toggled some of the options and tried to process payment again, and still received the same CIM message. I thought the issue may be that I left the advanced options —delimiting character and encapsulating character—- values empty. I put in the upload characters listed at authorize.net and it kept changing to —-> “” same CIM message.

    :slight_frown:

    I am considering connecting the cart with Stripe, although I’d much rather the authorize.net gateway. Is it a “best practice” to begin with whatever works (in this case potentially Stripe) while we continue working to fix the preferred gateway? I know…I’m such an implementer!! LOL!! Better stated developer gonna-be. :relieved:

  • Adam
    • Support Gorilla

    Hello Valencia,

    Thank you for your replay!

    I wouldn’t say that there’s any “best” practice. Personally, if I knew that using Stripe vs Authorize.NET wouldn’t make a difference to my business performance, I’d got with the one that works (and I think Stripe may pose less troubles and be easier to troubleshoot). However, if you decide to go with Autorize.NET we’ll work with you until we get it up and running.

    That said, I performed some more research and found this information:

    This error occurs when the API environment doesn’t recognize the API Login ID and Transaction Key submitted. There are three possible causes of this error:

    – Posting a live account’s API Login ID and Transaction Key to the test environment at https://apitest.authorize.net/xml/v1/request.api — For live accounts, please post to https://api.authorize.net/xml/v1/request.api instead.

    – Posting a test account’s API Login ID and Transaction Key to the live environment at https://api.authorize.net/xml/v1/request.api — For test accounts, please post to https://apitest.authorize.net/xml/v1/request.api instead.

    – The API Login ID or Transaction Key have errors.

    I know you checked your setup again live/testing config but it may be worth to double check it again and also check if there’s no errors in API Login ID and Transaction Key.

    There’s also this diagnosis that seems applicable:

    Confusion over the differences between profile IDs and payment profile IDs;

    Issues when storing ID numbers;

    Using an ID number from one account’s CIM setup when submitting to another account’s CIM setup.

    This would be more plugin related so if you’re 100% sure that all is setup according to instructions, account is active and working fine and there’s no errors in data let me know and I’ll include developers in this.

    Best regards,

    Adam

  • Milan
    • WordPress Wizard

    Hello Valencia

    Glad to know that. :slight_smile:

    I am marking this thread as resolved one and you do not need to reply us back here any more. :slight_smile: In case if this issue comes up again, please feel free to reopen this otherwise open new thread for you every new issue. :slight_smile:

    Thanks for being with us. :slight_smile: Enjoy WPMU DEV.

    Cheers,

    Milan