<?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: Need to switch from SIM to AIM, Accept or ??? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58259#M32924</link>
    <description>&lt;P&gt;One&amp;nbsp;way is to use &lt;A href="https://developer.authorize.net/api/reference/features/webhooks.html" target="_self"&gt;webhooks&lt;/A&gt;, which would enable you to still be notified if a transaction was processed but the customer closed the browser before following the return URL.&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2017 14:20:17 GMT</pubDate>
    <dc:creator>NexusSoftware</dc:creator>
    <dc:date>2017-05-30T14:20:17Z</dc:date>
    <item>
      <title>Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56693#M31472</link>
      <description>&lt;P&gt;We have been using SIM for years, but the hosted payment form is not mobile-friendly and there seems to be no&amp;nbsp;immediate plans to make it so, according to tech support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we're forced to host our own form. We've got an SSL cert installed and I've downloaded the SDK, but I can't find any kind of form samples to see what can work for us. And should I be using AIM or is that now something else... or should I use Accept?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We just need a simple form that submits 3 fields - the cardholder's Name, Card Number and Exp. Date and returns the fact that the transaction is good (or error code if bad).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A little help, please? :)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 18:09:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56693#M31472</guid>
      <dc:creator>mferguson</dc:creator>
      <dc:date>2017-01-16T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56697#M31476</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21111"&gt;@mferguson&lt;/a&gt;&amp;nbsp;You have a few options these days. I'd strongly recommend using one of the Accept Suite's options. &lt;A href="http://developer.authorize.net/api/reference/features/accept_hosted.html" target="_self"&gt;Accept Hosted&lt;/A&gt;&amp;nbsp;or &lt;A href="http://developer.authorize.net/api/reference/features/acceptjs.html" target="_self"&gt;Accept.js&lt;/A&gt;&amp;nbsp;might be your best option. (Accept Hosted is the direct replacement for SIM's Hosted Payment Form, and Accept.js is a replacement for DPM which doesn't include its own payment form, but greatly improves security since you don't have to handle PAI directly.)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:55:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56697#M31476</guid>
      <dc:creator>Lilith</dc:creator>
      <dc:date>2017-01-17T21:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56703#M31482</link>
      <description>&lt;P&gt;Hi Lilith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding. It appears that Accept Hosted is what I need to implement to replace the SIM hosted payment form.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at the&amp;nbsp;GetHostedPaymentForm() - JSON request, but I don't see how to implement this. I'm assuming somehow this function and data in it gets POSTed to the URL:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but I don't see anything that show how to do this. Can you point me to a sample page or something that explains how everything works together?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:26:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56703#M31482</guid>
      <dc:creator>mferguson</dc:creator>
      <dc:date>2017-01-18T02:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56705#M31484</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21111"&gt;@mferguson&lt;/a&gt;&amp;nbsp;-- thanks for the feedback. I agree that we could probably spell out the process a bit more clearly, but I think the intention was to let the sample code at &lt;A href="https://github.com/AuthorizeNet/accept-sample-app" target="_blank"&gt;https://github.com/AuthorizeNet/accept-sample-app&lt;/A&gt; serve as an explanation of how to implement Accept Hosted into your existing workflow. We figured that it'd be better to show how to add the Accept Hosted form into a lightbox, for example.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You seem to be asking about how to summon the Accept Hosted form directly, using the token from getHostedPaymentPageRequest, so I'll focus on that.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;First, getHostedPaymentPageResponse will look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;lt;getHostedPaymentPageResponse xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;lt;messages&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;message&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/message&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;lt;/messages&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;nbsp;&amp;lt;token&amp;gt;&lt;FONT color="#800000"&gt;fpXAkWfQzJUD6zzuU+yz9olx2YkoHd2bPzjm6u/teYYsKi3KmR9xmszKsEvw8bafqxwpshKqAUuXUp0uPMvWjelVNZDv+TYDcsq2+X+B7kuoQpnQeBnhMZg&lt;/FONT&gt;&amp;lt;/token&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;&amp;lt;/getHostedPaymentPageResponse&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That token is what you pass to &lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt; in Sandbox, and &lt;A href="https://accept.authorize.net/payment/payment" target="_blank"&gt;https://accept.authorize.net/payment/payment&lt;/A&gt; in Production.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The HTTP body of the request would just be:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier,monospace" size="2"&gt;token=&lt;FONT color="#800000"&gt;fpXAkWfQzJUD6zzuU+yz9olx2YkoHd2bPzjm6u/teYYsKi3KmR9xmszKsEvw8bafqxwpshKqAUuXUp0uPMvWjelVNZDv+TYDcsq2+X+B7kuoQpnQeBnhMZg&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We'll respond to that token, if it is valid, by displaying the Accept Hosted form, as configured in your original getHostedPaymentPageRequest call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that help?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 16:55:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56705#M31484</guid>
      <dc:creator>Lilith</dc:creator>
      <dc:date>2017-01-18T16:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56708#M31485</link>
      <description>&lt;P&gt;Do you mean if I just do this I should get a form displayed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://test.authorize.net/payment/payment" target="_blank" rel="nofollow noopener noreferrer"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;?token=6B54DCFD276E00...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this, it doesn't work, but I'm posting a token to the URL. I tried in a POST format, also and got the same error, "Missing or invalid token" with a Close button displayed. Is there something more I need to do that I'm not getting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I tried a few things with the JSON Request object on this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/accept_hosted.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/accept_hosted.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But nothing works. Am I supposed to post this object? How?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still in the dark.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 22:47:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56708#M31485</guid>
      <dc:creator>mferguson</dc:creator>
      <dc:date>2017-01-18T22:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56714#M31491</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21111"&gt;@mferguson&lt;/a&gt;&amp;nbsp;The token goes into the HTTP body, not into the URL. We will ignore query strings, and strongly discourage their usage. HTTP POST generally works with the HTTP body. &lt;A href="http://stackoverflow.com/questions/14551194/how-are-parameters-sent-in-an-http-post-request" target="_self"&gt;This StackOverflow discussion&lt;/A&gt; explains the difference.&lt;BR /&gt;&lt;BR /&gt;Which scripting language or framework are you using? While I am not a developer myself,&amp;nbsp;I can possibly suggest the method in that language or framework for executing a proper HTTP POST.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 15:55:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56714#M31491</guid>
      <dc:creator>Lilith</dc:creator>
      <dc:date>2017-01-19T15:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56722#M31499</link>
      <description>&lt;P&gt;I'm using LAMP (Linux, Apache, Mysql &amp;amp; PHP) with jQuery and Bootstrap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the difference between GET and POST and why I tried it both ways, but I see now that I need to grab the token from the JSON (or XML) Response and POST that to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sandbox: &lt;A href="https://test.authorize.net/payment/payment&amp;nbsp;" target="_blank"&gt;https://test.authorize.net/payment/payment&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Production: &lt;A href="https://accept.authorize.net/payment/payment" target="_blank"&gt;https://accept.authorize.net/payment/payment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first, I thought I was supposed to create the token in the admin Settings, but it's Authorize.net that creates the token and sends it in the Response code. Then I return it in a POST, which then gives me the FORM for user input, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all the above is correct, what I'm really missing is the first step in how to create&amp;nbsp;and make the REQUEST in order to get the RESPONSE. It appears that I use the JSON or XML REQUEST function. I just don't know how to use it so that it creates the REQUEST.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 20:03:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56722#M31499</guid>
      <dc:creator>mferguson</dc:creator>
      <dc:date>2017-01-19T20:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56723#M31500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21111"&gt;@mferguson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first step is to get a token. Your server sends a request for a token with details of the payment, and we respond with a token. Then next step is for you to&amp;nbsp;send the token back to us from the browser so that we know which form to load into the browser with which details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That first step, the token request, is going the be done directly from your server to ours. Once you know everything you need to know to start collecting payment (amount at least), you send a request to the&amp;nbsp;&lt;SPAN&gt;getHostedPaymentPageRequest method in our API. That call returns a response with a token good for 15 minutes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The actual request comes from your server, but how you get your server to send it is up to you. Our PHP SDK has methods for doing this token request, so you could just call the appropriate method from a PHP script on your server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To send the token back to us, you get the browser to do&amp;nbsp;an HTTP POST to us with the token in it. In it's simplest form, you could create an HTML page like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Form test page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
&amp;lt;form method="post" action="https://test.authorize.net/payment/payment"&amp;gt;

Token: &amp;lt;input type="text" name="token" /&amp;gt;

&amp;lt;input type="submit" /&amp;gt;

&amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;Load that form up in a browser, copy the token you've received from the initial token request into the text field, paste it into the field, and click submit. The browser will then take you to the payment form corresponding to your initial request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's not suitable for real-world use, of course, so you need to find some way to get the customer's browser to request that form. You could serve the customer a page with a hidden form that automatically submits, causing the browser to be redirected to a page on our server with the form in it. Or, you could embed into your page an iframe containing the results of the form post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our sample app does it this way. It creates an iframe, with HTML form code inside. To get the&amp;nbsp;value of the token to put into the form, it's calling a PHP script inline to do the token request to our system. Then, it submit's the form so that the result of that POST is what's visible to the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully I'm shedding a little light on this conceptually and not confusing you further.&amp;nbsp;&lt;EM&gt;Please&lt;/EM&gt; let us know if any of this does not make sense or if we can help you further.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 21:00:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56723#M31500</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-19T21:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56735#M31515</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the detailed response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the whole flow of how everything should be now. The main problem I'm having is how to&amp;nbsp;&lt;SPAN&gt;send a request to the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;getHostedPaymentPageRequest method in your API.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've now got the php-sdk working on my site and can log in to the /accept/index.php page with a Customer ID I created, but when I click on the "Hosted Pay" button, I get a modal that says, "Missing or invalid token." Any idea why I might be getting this?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I click the "Pay" button, which displays a modal with form fields to fill out. I fill them out and click&amp;nbsp;SUBMIT and get "Accept.js Example" and "error".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think if I can get this all working I'll have a better idea of how I should set it up on our site.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 19:11:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56735#M31515</guid>
      <dc:creator>mferguson</dc:creator>
      <dc:date>2017-01-20T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56741#M31521</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have the PHP SDK? or the sample app? or both? The problems you're talking about involve the sample app, and we can look into those. However, to get your code up and running, you'll want to install the &lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_self"&gt;PHP SDK&lt;/A&gt; and the &lt;A href="https://github.com/AuthorizeNet/sample-code-php" target="_self"&gt;PHP sample code&lt;/A&gt;. The PHP sample code has a "get-hosted-payment-page.php" sample that will show you exactly how to call the PHP SDK to get a token.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 22:51:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56741#M31521</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-20T22:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56761#M31541</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have both, but am working with the sample app. I assume you mean this page, right?&lt;/P&gt;&lt;P&gt;/accept/getHostedPaymentForm.php&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the errors I get when trying to bring this page up directly (which comes up blank):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PHP Warning: SimpleXMLElement::__construct(): namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute in /accept/getHostedPaymentForm.php on line 105&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PHP Warning: SimpleXMLElement::__construct(): &amp;lt;getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt; in /accept/getHostedPaymentForm.php on line 105&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PHP Warning: SimpleXMLElement::__construct(): ^ in /accept/getHostedPaymentForm.php on line 105&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PHP Notice: Use of undefined constant JSON_UNESCAPED_SLASHES - assumed 'JSON_UNESCAPED_SLASHES' in /accept/getHostedPaymentForm.php on line 109&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PHP Warning: json_encode() expects parameter 2 to be long, string given in /accept/getHostedPaymentForm.php on line 109&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PHP Fatal error: Call to undefined function curPageURL() in /accept/getHostedPaymentForm.php on line 112&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can log in and get to the /accept/index.php page as I detailed in my prior reply. There's a little Iframe that opens up to the left of the buttons. It appears to be the XML file for what is needed to send to your server, but there is no token there. And when I click on the Hosted Pay button, I get a modal that says, "Make Payment" and "Missing or invalid token", so it appears this sample is not sending a token back.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:49:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56761#M31541</guid>
      <dc:creator>mferguson</dc:creator>
      <dc:date>2017-01-23T20:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56762#M31542</link>
      <description>&lt;P&gt;The sample code is something different from the sample app. Go to &lt;A href="https://github.com/AuthorizeNet/sample-code-php" target="_self"&gt;this GitHub page&lt;/A&gt;. That's a collection of sample code that you can use to see how the different method's are implemented. It would be best to clone that whole repository to&amp;nbsp;the machine where you've installed the PHP SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each of the sample code files in that sample code repository provides an example for how to use the Authorize.Net PHP SDK to do a particular type of transaction.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:43:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/56762#M31542</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-01-23T20:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58252#M32917</link>
      <description>&lt;P&gt;I'm back with more questions. We had some other tasks taking precedence over this one of moving from SIM to Accept Hosted, so took a while to get back to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got Accept Hosted working for the most part, now. I get a token, get the form for entering CC info, submit that and get a completed transaction with email receipt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm not getting is a return of name=value pairs from the "&lt;SPAN class="DefaultSmallFont"&gt;Default Relay Response URL&lt;/SPAN&gt;" set up in the Admin &amp;gt; Settings &amp;gt; Response/Receipt URLs page. SIM sends us back vars like: x_first_name, firstName, or any other custom var I create. Accept Hosted is not doing this. I was told at the beginning that Accept Hosted is the replacement for SIM, so I expect all aspects of SIM to be happening... except we can now have a mobile-friendly form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some trick here to get this working or some other way to do this with Accept Hosted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 22:48:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58252#M32917</guid>
      <dc:creator>markusfergus</dc:creator>
      <dc:date>2017-05-26T22:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58254#M32919</link>
      <description>&lt;P&gt;When using Accept Hosted, the following parameter settings are used with the getHostedPaymentPageRequest API method. All configuration options for how the form operates and is displayed are set by sending these parameters within hostedPaymentSettings in the token request. The form's appearance and behavior are not affected by SIM payment form settings or any other settings in the merchant interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information specific to your&amp;nbsp;customer can be passed back to your server by embedding it in the continue/return URL or the cancel URL. By embedding information into the URL that is provided in the token request, your server can identify the specific customer and transaction that has been processed when the customer returns. Any name-value pairs embedded in the URL should be URL-encoded to ensure correct processing in the form request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whether the API request is sent using JSON or XML formatting, the values for all parameters sent within hostedPaymentSettings are sent as JSON objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hostedPaymentReturnOptions {"showReceipt" : true, "url":"https://yoursite.com/receipt", "urlText": "Continue", "cancelUrl": "https://yoursite.com/cancel", "cancelUrlText": "Cancel"}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If the API request is sent using JSON formatting, the values need to be sent using backslashes to escape the quote characters.&lt;/P&gt;&lt;PRE&gt;{
"settingName": "hostedPaymentReturnOptions",
"settingValue": "{\"url\":\"https://www.yoursite.com/continue\",\"urlText\":\"Continue\",\"cancelUrl\":\"https://yoursite.com/cancel\",\"cancelUrlText\":\"Cancel\"}"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: If you are using an IFrame, you must send the hostedPaymentIFrameCommunicatorUrl parameter in the getHostedPaymentPageRequest method.&lt;/P&gt;</description>
      <pubDate>Sun, 28 May 2017 11:49:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58254#M32919</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-05-28T11:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58258#M32923</link>
      <description>&lt;P&gt;The one problem I see with using this method would be where the user leaves the page and doesn't click the button. Then my update script doesn't get run and their order isn't recorded, like what I get using SIM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get my custom name/value pairs returned after the transaction is successful, whether or not the "continue" button is clicked or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 13:53:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58258#M32923</guid>
      <dc:creator>markusfergus</dc:creator>
      <dc:date>2017-05-30T13:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58259#M32924</link>
      <description>&lt;P&gt;One&amp;nbsp;way is to use &lt;A href="https://developer.authorize.net/api/reference/features/webhooks.html" target="_self"&gt;webhooks&lt;/A&gt;, which would enable you to still be notified if a transaction was processed but the customer closed the browser before following the return URL.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 14:20:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58259#M32924</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-05-30T14:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58290#M32953</link>
      <description>&lt;P&gt;Well, I'm just not able to make sense out of the webhooks docs and it doesn't seem that it would do what I need anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the Silent Post method and it's working very well. Only drawback is that it seems to have a limit of 20 name/value pairs you can send... but I can work with that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, after a transaction is successful, it displays, "Thank-you for your business!" How do I edit that wording?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 22:18:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58290#M32953</guid>
      <dc:creator>markusfergus</dc:creator>
      <dc:date>2017-05-31T22:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58291#M32954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20981"&gt;@markusfergus&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no way to edit that wording, unfortunately, but I can definitely see the usefulness of such an option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd encourage you to post this onto our &lt;A href="https://community.developer.cybersource.com/t5/Ideas/idb-p/ideas" target="_self"&gt;Ideas Forum&lt;/A&gt; where others can take a look, contribute feedback, and vote for new features.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 22:23:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58291#M32954</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-05-31T22:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58293#M32956</link>
      <description>&lt;P&gt;Yes, it assumes a particular type of transaction is taking place, when it could be many different things. This is not something that should be static, but editable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, I'll make the suggestion.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 23:03:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58293#M32956</guid>
      <dc:creator>markusfergus</dc:creator>
      <dc:date>2017-05-31T23:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to switch from SIM to AIM, Accept or ???</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58404#M33059</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20981"&gt;@markusfergus&lt;/a&gt;&amp;nbsp;-- Out of curiosity, did you have a specific issue with the Webhooks documentation? I'm eager to hear any feedback you have so we can improve its quality.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 15:51:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Need-to-switch-from-SIM-to-AIM-Accept-or/m-p/58404#M33059</guid>
      <dc:creator>Lilith</dc:creator>
      <dc:date>2017-06-09T15:51:17Z</dc:date>
    </item>
  </channel>
</rss>

