<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help with erorr - CIM Transaction using PHP SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-erorr-CIM-Transaction-using-PHP-SDK/m-p/16366#M9242</link>
    <description>&lt;P&gt;I am using the sample code from the CIM SDK and getting the following error&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Notice:&lt;/STRONG&gt; Undefined variable: request&lt;BR /&gt;&lt;STRONG&gt;Fatal error:&lt;/STRONG&gt; Call to a member function createCustomerProfileTransaction() on a non-object&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My code is as follows﻿&lt;/P&gt;&lt;PRE&gt;// Create Auth &amp;amp; Capture Transaction
$transaction = new AuthorizeNetTransaction;
$transaction-&amp;gt;amount = $cost;
$transaction-&amp;gt;customerProfileId = $profileId;
$transaction-&amp;gt;customerPaymentProfileId = $paymentProfileId;	

$response = $request-&amp;gt;createCustomerProfileTransaction("AuthCapture", $transaction);
$transactionResponse = $response-&amp;gt;getTransactionResponse();
$CIMrespCode 	= $transactionResponse-&amp;gt;response_code;
$CIMrespReason 	= $transactionResponse-&amp;gt;response_reason_code;
$CIMrespText 	= $transactionResponse-&amp;gt;response_reason_text;
$CIMrespTextDB 	= sanitize($CIMrespText);
$CIMauthType 	= "AUTH_CAPTURE";
$CIMtransId = $transactionResponse-&amp;gt;transaction_id;

if ($transactionResponse-&amp;gt;approved) {...

&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;What am I missing﻿&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2011 17:19:06 GMT</pubDate>
    <dc:creator>syoung68</dc:creator>
    <dc:date>2011-08-19T17:19:06Z</dc:date>
    <item>
      <title>Help with erorr - CIM Transaction using PHP SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-erorr-CIM-Transaction-using-PHP-SDK/m-p/16366#M9242</link>
      <description>&lt;P&gt;I am using the sample code from the CIM SDK and getting the following error&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Notice:&lt;/STRONG&gt; Undefined variable: request&lt;BR /&gt;&lt;STRONG&gt;Fatal error:&lt;/STRONG&gt; Call to a member function createCustomerProfileTransaction() on a non-object&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My code is as follows﻿&lt;/P&gt;&lt;PRE&gt;// Create Auth &amp;amp; Capture Transaction
$transaction = new AuthorizeNetTransaction;
$transaction-&amp;gt;amount = $cost;
$transaction-&amp;gt;customerProfileId = $profileId;
$transaction-&amp;gt;customerPaymentProfileId = $paymentProfileId;	

$response = $request-&amp;gt;createCustomerProfileTransaction("AuthCapture", $transaction);
$transactionResponse = $response-&amp;gt;getTransactionResponse();
$CIMrespCode 	= $transactionResponse-&amp;gt;response_code;
$CIMrespReason 	= $transactionResponse-&amp;gt;response_reason_code;
$CIMrespText 	= $transactionResponse-&amp;gt;response_reason_text;
$CIMrespTextDB 	= sanitize($CIMrespText);
$CIMauthType 	= "AUTH_CAPTURE";
$CIMtransId = $transactionResponse-&amp;gt;transaction_id;

if ($transactionResponse-&amp;gt;approved) {...

&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;What am I missing﻿&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 17:19:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-erorr-CIM-Transaction-using-PHP-SDK/m-p/16366#M9242</guid>
      <dc:creator>syoung68</dc:creator>
      <dc:date>2011-08-19T17:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with erorr - CIM Transaction using PHP SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-erorr-CIM-Transaction-using-PHP-SDK/m-p/16370#M9244</link>
      <description>&lt;P&gt;Nevermind. I am an idiot... forgot&amp;nbsp;$request = new AuthorizeNetCIM;﻿&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 19:05:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-with-erorr-CIM-Transaction-using-PHP-SDK/m-p/16370#M9244</guid>
      <dc:creator>syoung68</dc:creator>
      <dc:date>2011-08-19T19:05:51Z</dc:date>
    </item>
  </channel>
</rss>

