Skip to content

Commit

Permalink
Update README-AcceptHosted.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmc authored Feb 11, 2017
1 parent 81a8389 commit 6a81308
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README-AcceptHosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
# Accept Hosted Step-by-Step
Accept Hosted provides a fully hosted payment transaction solution, Authorize.Net takes care of the payment form, the transaction itself and (optionally) the receipt generation. This example demonstrates using an embedded iFrame to display the page, but you could also use a lightbox style popup iFrame. See our [developer documentation](http://developer.authorize.net/api/reference/features/accept_hosted.html) for more details.

![Accept Hosted Screenshot](screenshots/accept-hosted.png "Screenshots showing Accept Hosted.")
![Accept Hosted Screenshot](screenshots/AcceptHosted-Tablet.png "Screenshots showing Accept Hosted.")

## Step 1. Create a Secure Form Token

In this step we will request an Accept Hosted form token using the Authorize.Net API.
In this step we will request an Accept Hosted form token using the Authorize.Net API, you can try out the call in our sandbox API Explorer here: http://developer.authorize.net/api/reference/#payment-transactions-get-an-accept-payment-page
**NOTE: This should be a fully authenticated server-side call for your application, for example if you had a .NET application this call would be in the code-behind .cs files, for a mobile app this could be in your node.js backend, etc**
In this Accept Sample application you can find the sample code in https://github.com/AuthorizeNet/accept-sample-app/blob/master/getHostedPaymentForm.php

## Step 2. Incorporate Accept Hosted form into your payment flow.

Expand Down

0 comments on commit 6a81308

Please sign in to comment.