<?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 Re: Class GetHostedPaymentPageRequest not found in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57810#M32499</link>
    <description>&lt;P&gt;Thanks Aaron, but&amp;nbsp;rate of attrition for this was too high - from getting Composer to install on Windows Server, to getting it to correctly install the proper version of all the dependencies to trying to fix an error on every line of the "Hello World" example, I've wasted too much time on this (literally days). I've ended up dropping the SDK and writing my own functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 08:09:13 GMT</pubDate>
    <dc:creator>mistertaylor</dc:creator>
    <dc:date>2017-04-26T08:09:13Z</dc:date>
    <item>
      <title>Class GetHostedPaymentPageRequest not found</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57793#M32483</link>
      <description>&lt;P&gt;I'm attempting to integrate a hosted payment page using Authorize.Net&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully installed the SDK using Composer (including dependencies) and got the &lt;A href="https://developer.authorize.net/hello_world/" target="_self"&gt;Hello World&lt;/A&gt; example working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when trying to create a hosted payment page using the &lt;A href="https://github.com/AuthorizeNet/sample-code-php/blob/master/PaymentTransactions/get-an-accept-payment-page.php" target="_self"&gt;sample code&lt;/A&gt; provided, I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PHP Fatal error: Class 'net\authorize\api\contract\v1\GetHostedPaymentPageRequest' not found&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing this is some namespace issue, but I can't trace it. Changing the class name key as per this &lt;A href="https://github.com/AuthorizeNet/sdk-php/issues/211" target="_self"&gt;issue&lt;/A&gt; on GitHib seems to have no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:49:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57793#M32483</guid>
      <dc:creator>mistertaylor</dc:creator>
      <dc:date>2017-04-24T15:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Class GetHostedPaymentPageRequest not found</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57804#M32493</link>
      <description>&lt;P&gt;Have you tried any other methods? If you get errors on all of those, it must be an SDK installation issue. What version of the SDK is installed?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 22:54:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57804#M32493</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-04-25T22:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Class GetHostedPaymentPageRequest not found</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57810#M32499</link>
      <description>&lt;P&gt;Thanks Aaron, but&amp;nbsp;rate of attrition for this was too high - from getting Composer to install on Windows Server, to getting it to correctly install the proper version of all the dependencies to trying to fix an error on every line of the "Hello World" example, I've wasted too much time on this (literally days). I've ended up dropping the SDK and writing my own functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 08:09:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/57810#M32499</guid>
      <dc:creator>mistertaylor</dc:creator>
      <dc:date>2017-04-26T08:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Class GetHostedPaymentPageRequest not found</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/59027#M33628</link>
      <description>&lt;P&gt;Would like to revive this, as I'm receiving the same error and it makes no sense why... &amp;nbsp;Also spent a day on this so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All other classes seem to work fine. &amp;nbsp;I have tried the sample&amp;nbsp;get-an-accept-payment-page.php from github as well as the full sample App... pretty frustrating. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 02:43:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/59027#M33628</guid>
      <dc:creator>shackrock</dc:creator>
      <dc:date>2017-07-29T02:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Class GetHostedPaymentPageRequest not found</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/59065#M33666</link>
      <description>&lt;P&gt;Something&amp;nbsp;to try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you've installed the SDK first, and are just trying indivdual sample files, you may need to edit the path inside the sample file to point to the right&amp;nbsp;autoload file, the one&amp;nbsp;in the SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way the sample code repo is packaged, we assume you would clone the whole repo, then run&lt;/P&gt;&lt;PRE&gt;composer update &lt;/PRE&gt;&lt;P&gt;from the root level of the repo. That will install a copy of the SDK in a vendor directory inside the sample code repo. Then, you'd run individual samples from the root of the repo with a command like&lt;/P&gt;&lt;PRE&gt;php PaymentTransactions/get-an-accept-payment-page.php&lt;/PRE&gt;&lt;P&gt;If you haven't already, you may want to&amp;nbsp;try this sequence of installation of the sample code repo and see if you get any different results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you've just installed the SDK, and then downloaded an individual sample, that should still work fine, but you may need to update the "require" command in the second line of the sample file to make sure it points to the autoload.php that's in the "vendor" folder within the SDK installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other than that, any more information you can provide? PHP version? OS?&amp;nbsp;how you installed the SDK? etc?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 16:35:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Class-GetHostedPaymentPageRequest-not-found/m-p/59065#M33666</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-07-31T16:35:20Z</dc:date>
    </item>
  </channel>
</rss>

