
The values for all parameters sent within hostedPaymentSettings are sent as JSON objects, regardless of whether you sent the getHostedPaymentPageRequest API call in JSON or XML format. To control the payment form, use the following parameter settings within the hostedPaymentSettings element of the getHostedPaymentPageRequest API call. The customer can choose among these payment methods or enter new payment information, and save the new payment information in a payment profile that can be used in later transactions. When the browser displays the form, the four most recent payment profiles for that customer profile are displayed as shown in the image below. Important: If you use the Customer Profiles feature to store customer payment information, you can send a customer profile ID in the customerProfileId element of the getHostedPaymentPageRequest call.

If the browser makes a request for the payment form using an expired form token, an error is displayed.

You must display the payment form within that time. Using the form token ensures that the payment form request comes from you and that the transaction details remain unchanged by the customer or a third party. The response contains a form token that you can use in a subsequent request to display the hosted payment form. The Accept Hosted process starts with a getHostedPaymentPageRequest API call. The customer is returned to your site, which displays a result page based on the URL followed or the response details sent. The API sends the transaction to for processing.ĥ. Your customer completes and submits the payment form.Ĥ.

You embed the payment form or redirect the customer to the payment form by sending an HTML POST containing the form token to. This request contains transaction information and form parameter settings.Ģ. You call getHostedPaymentPageRequest to request a form token. The implementation and use of Accept Hosted follow a basic workflow:ġ. To use a JavaScript library to accept payments, using either your payment form or the included hosted form, see the documentation for Accept.js. You can redirect customers to the Accept Hosted payment form or embed the payment form directly in your own page.įor Accept Hosted API details, see the API Reference Guide. It enables you to use the API to submit payment transactions while maintaining SAQ-A level PCI compliance. Below this method can also // = Hosted is a mobile-optimized payment form hosted by. InnerHtml = "I am from the parent window" Window minimization function SonMinimize()Īlert('No window yet opened or closed' ) Īlert('The window has not been opened or closed.' ) Īlert(+'*'+ ) Īlert('Haven't open the window yet or closed' ) Īlert(("OpenDiv" ).innerHTML) Win.resizeTo(screen.availWidth+8,screen.availHeight+8 ) Īlert('Haven't opened the window or closed' ) Maximize the window function SonMaximize() INNNERHTML = "I am ff to assign a value through the parent window" conteTdocument.GtelementByid (ContentID). INNNERHTML = "I am assigned by the parent window through the parent window" ĭocument.GtelementByid (ObjectID).

ObjectID is the window ID, ContentID is an element ID function SetValue(ObjectID,ContentID)ĭames (ObjectID). The parent object assigns a subsidiary Var IsIE = (navigator.appName = 'Microsoft Internet Explorer' ) ObjectID is the window ID, ContentID is an element ID function GetValue(ObjectID,ContentID) Parent object gets the value of the child window
