Skip to content

Instantly share code, notes, and snippets.

@derinbay
Last active March 8, 2018 07:29
Show Gist options
  • Save derinbay/5a004fee495fbf15d47157fdf2384485 to your computer and use it in GitHub Desktop.
Save derinbay/5a004fee495fbf15d47157fdf2384485 to your computer and use it in GitHub Desktop.
{
"status": "success",
"locale": "tr",
"systemTime": 1470731039071,
"conversationId": "123456789",
"token": "xxxxxxxxxxxx",
"checkoutFormContent": "<script type=\"text/javascript\">if (typeof iyziInit == 'undefined') {var iyziInit = {currency:'TRY',token:'d9a1d90e-7cfb-4ead-a6ec-34237bac04f0',price:1.20,locale:'tr',baseUrl:'https://sandbox-api.iyzipay.com',registerCardEnabled:true,bkmEnabled:true,userCards:[],force3Ds:false, isSandbox:true, createTag:function(){var iyziCSSTag = document.createElement('link');iyziCSSTag.setAttribute('rel','stylesheet');iyziCSSTag.setAttribute('type','text/css');iyziCSSTag.setAttribute('href','https://sandbox-static.iyzipay.com/checkoutform/css/main.min.css?v=1470731039031');document.head.appendChild(iyziCSSTag);var iyziJSTag = document.createElement('script');iyziJSTag.setAttribute('src','https://sandbox-static.iyzipay.com/checkoutform/js/iyziCheckout.min.js?v=1470731039031');document.head.appendChild(iyziJSTag);}};iyziInit.createTag();}</script>",
"tokenExpireTime": 1800,
"paymentPageUrl": "https://sandbox-cpp.iyzipay.com?token=xxxxxxxxx&lang=tr"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment