Answers.Body: <p>You are missing <code>-d x_subscription_id=21930455</code> in your curl command (just change it to your subscription_id).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T16:29:51.687Z
Answers.Text: Thank you.  Unfortunately, now I am getting Could not find an entry for x_response_code.
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T20:59:04.877Z
Answers.Text: ` -d x_response_code=1`
  For more info about variables, please checkout sample <form> tag on the Authorize.net CiviCRM documentation page
Answers.UserDisplayName: Djordje Marjanovic
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T21:10:13.417Z
Answers.Text: Okay, when I figure this out I will update the docs.
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T10:38:47.463Z
Answers.LastActivityDate: 2017-12-19T10:38:47.463Z
Answers.UserDisplayName: Djordje Marjanovic
Body: <p>I am trying to test recurring transactions that were failing in production and in a dev instance.  </p>
  
  <p>For testing I am using the curl command from <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/authorize-net/#online-form-testing-method" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/authorize-net/#online-form-testing-method</a>.<br>
  <code>curl https://dev.domain.com/sites/all/modules/civicrm/extern/authorizeIPN.php -d x_amount=0.25 -d x_cust_id=9025 -d x_invoice_num=5273 -d x_trans_id=12345TEST</code></p>
  
  <p>This is what I am finding in my CiviCRM log.  I see the form example in the book has x_subscription_id but not the curl command.  </p>
  
  <p>Dec 19 04:54:55  [info] Could not find an entry for x_subscription_id</p>
  
  <p>Dec 19 04:54:55  [info] $error data = Array
  (
      [error_code] => 0
  )</p>
  
  <p>Dec 19 04:54:55  [info] $REQUEST = Array
  (
      [x_amount] => 0.25
      [x_cust_id] => 9025
      [x_invoice_num] => 5273
      [x_trans_id] => 12345TEST
  )</p>
  
  <p>Any help is appreciated.  </p>
  
  <p>Thanks,
  Josh</p>
  
Tags: <civicontribute><authorize.net>
Title: x_subscription_id For Authorize.net
ThreadText: # x_subscription_id For Authorize.net
  
  (Asked by: username_0 on 2017-12-19)
  
  I am trying to test recurring transactions that were failing in production and in a dev instance.
  
  For testing I am using the curl command from <https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/authorize-net/#online-form-testing-method>.  
  `curl https://dev.domain.com/sites/all/modules/civicrm/extern/authorizeIPN.php -d x_amount=0.25 -d x_cust_id=9025 -d x_invoice_num=5273 -d x_trans_id=12345TEST`
  
  This is what I am finding in my CiviCRM log. I see the form example in the book has x\_subscription\_id but not the curl command.
  
  Dec 19 04:54:55 [info] Could not find an entry for x\_subscription\_id
  
  Dec 19 04:54:55 [info] $error data = Array
  (
  [error\_code] => 0
  )
  
  Dec 19 04:54:55 [info] $REQUEST = Array
  (
  [x\_amount] => 0.25
  [x\_cust\_id] => 9025
  [x\_invoice\_num] => 5273
  [x\_trans\_id] => 12345TEST
  )
  
  Any help is appreciated.
  
  Thanks,
  username_0
  
  **Tags:** civicontribute, authorize.net
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-19. Score: 1
  
  You are missing `-d x_subscription_id=21930455` in your curl command (just change it to your subscription\_id).
  
  > **Comments:**
  > **username_0**: Thank you.  Unfortunately, now I am getting Could not find an entry for x_response_code.  
  > **username_1**: ` -d x_response_code=1` For more info about variables, please checkout sample <form> tag on the Authorize.net CiviCRM documentation page  
  > **username_0**: Okay, when I figure this out I will update the docs.  
  
  ---
  
  