Error loading CIM Profiles for Recurring Payment

2 replies [Last post]
aangel
Offline
Joined: 06/24/2011
Status: 
Answered

Hi, Leighton.

I've read:
http://www.moneyscripts.net/forums/support/2011/01/6/error-loading-cim-p...
and
http://www.moneyscripts.net/forums/support/2011/01/12/have-you-tested-i-...

and, unfortunately, coming into the project late in the game I do not know the timing of when the Authorize.net CIM was turned on. However, I have a recurring payment that should be going through that isn't going through and could use some support in getting it unstuck.

Here is the status of various items:
1. ARB Transaction Mode is set to Production
2. 'Always create a CIM profile' is turned on and CIM is in Production mode.
3. There is only one error in the log report:
Type: ms_authorizenet
Message: Error Loading CIM Profiles for Recurring Payment: stdClass Object ( [id] => 11 [oid] => 72 [status] => active [module] => ms_membership [gateway] => ms_authorizenet_cim [main_amount] => 29.95 [main_length] => 3 [main_unit] => M [trial_amount] => 29.95 [trial_length] => 3 [trial_unit] => M [total_occurrences] => 0 [next_payment] => 1308433520 [current_payments] => 1 [created] => 1300225511 [expiration] => 0 [modified] => 1300225511 [failed_payments] => 1 )
4. ms_memberships record exists oid =72 uid = 58
5. ms_authorizenet_shipping_profiles record exists for uid =58
6. ms_recurring_schedules record exists for oid = 72
7. ms_authorizenet_payment_profiles does *not* have a record for uid = 58
8. ms_authorizenet_cim_profiles does have a record for uid = 58
9. ms_orders does have a record for oid = 72 and uid = 58 (active)

Presumably the payment is failing because of #7 though I have no idea why that record should be missing. I

Is my assumption correct and if so how would you go about repairing this?

Thanks!
5.

Leighton Whiting
Offline
Joined: 06/02/2009
Having both ARB and CIM

Having both ARB and CIM switched on is only recommended if you used ARB first without CIM and still have ARB orders, because CIM supersedes and overrides ARB for all new orders once it is turned on. Just a note there.

I think the reason it is failing is #7. I'm not sure how that record wasn't created, but it can usually be fixed by going to the user's account and having them enter a new credit card.

First and foremost, make sure you are using the latest version of MS Core (and all the gateways that are included in it).

When a user updates their billing information from within their account, it should update the payment profile record or create one if none exists. That will hopefully get this back on track. Let me know if you need more help finding the pages (there might be permissons that you need to enable for the users).

Sincerely,
Leighton Whiting

aangel
Offline
Joined: 06/24/2011
Will do

Hi, Leighton. Ok, I'll update all the scripts and then try your suggestion.

Twitter Feed