...
The solution is to place a script on your site that talks server-to-server to the ultracart server. By doing this, and directing all remote calls to your relay script, there are no security restrictions. This solution works very well.
Installing
Tip |
---|
As a general rule, make sure that you're referencing all scripts (jQuery, MooTools, checkoutapi.js, etc.) using HTTPS URLS all from the same domain in your HTML file. |
Tip |
---|
Make sure your web server has an SSL certificate. Asking customers to enter their credit card on a non-SSL site would dramatically lower conversion and pose a security risk. |
If you're going to create a custom checkout on your own web server then you need to follow of important steps.
Version 1.0
...
- https://secure.ultracart.com/checkoutapi/checkoutapi.js
- https://secure.ultracart.com/js/mootools-1.2-core-yc.js
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<script type="text/javascript" src="/mootools-1.2-core-yc.js"></script>
<script type="text/javascript" src="/checkoutapi.js"></script>
<script type="text/javascript"> initializeCheckoutAPI('AVKIT', null, 'https://www.avkits.com/proxy.php');</script>
|
...
Include Page | ||||
---|---|---|---|---|
|