Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout form kapatma hk. #154

Open
raysefo opened this issue Dec 10, 2024 · 0 comments
Open

Checkout form kapatma hk. #154

raysefo opened this issue Dec 10, 2024 · 0 comments

Comments

@raysefo
Copy link

raysefo commented Dec 10, 2024

Merhaba,

Checkout formu sağ üst taraftaki X'ten kapattığımda ekranda Ödeme Formunu Aç butonu çıkıyor. Bunu nasıl engelleyebilirim?

Kodu aşağıdaki şekilde kullanıyorum:
<div id="iyzipay-checkout-form" class="popup">@((MarkupString)checkout)</div>

Ancak checkout formunu kapattığımda markup aşağıdaki şekilde oluyor.

<div id="iyzipay-checkout-form" class="popup">@((MarkupString)checkout)>
<div class="notranslate"><button id="iyz-checkout-form-button" class="css-1y0e95j-OpenModalButton e1u40tqm0">Ödeme Formunu Aç</button></div><!--!--><script type="text/javascript">if (typeof iyziInit == 'undefined') {var iyziInit = {currency:"TRY",token:"f43bb6c3-91ab-4697-81b4-5180e7636152",price:2205.00,pwiPrice:2205.00,locale:"tr",baseUrl:"https://sandbox-api.iyzipay.com", merchantGatewayBaseUrl:"https://sandbox-merchantgw.iyzipay.com", registerCardEnabled:true,bkmEnabled:true,bankTransferEnabled:false,bankTransferTimeLimit:{"value":5,"type":"day"},bankTransferRedirectUrl:"http://localhost:5028/api/IyzicoPayment/PaymentCallback",bankTransferCustomUIProps:{},campaignEnabled:false,campaignMarketingUiDisplay:null,paymentSourceName:"",plusInstallmentResponseList:null,payWithIyzicoSingleTab:false,payWithIyzicoSingleTabV2:false,payWithIyzicoOneTab:false,mixPaymentEnabled:true,creditCardEnabled:true,bankTransferAccounts:[],userCards:[],fundEnabled:true,memberCheckoutOtpData:{},force3Ds:false,isSandbox:true,storeNewCardEnabled:true,paymentWithNewCardEnabled:true,enabledApmTypes:["SOFORT","IDEAL","QIWI","GIROPAY"],payWithIyzicoUsed:false,payWithIyzicoEnabled:true,payWithIyzicoCustomUI:{},buyerName:"Alex Desouza",buyerSurname:"Desouza",merchantInfo:"",merchantName:"Sandbox Merchant Name - 3397951",cancelUrl:"",buyerProtectionEnabled:true,hide3DS:false,gsmNumber:"",email:"[email protected]",checkConsumerDetail:{},subscriptionPaymentEnabled:false,disabledCardStorageInfoCheckbox:false,ucsEnabled:false,fingerprintEnabled:false,payWithIyzicoFirstTab:false,creditEnabled:false,payWithIyzicoLead:false,goBackUrl:"",metadata : {},createTag:function(){var iyziJSTag = document.createElement('script');iyziJSTag.setAttribute('src','https://sandbox-static.iyzipay.com/checkoutform/v2/bundle.js?v=1733834816351');document.head.appendChild(iyziJSTag);}};iyziInit.createTag();}</script>
</div>

Bunu ne şekilde engelleyebilirim?

Iyzico.Cancel.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant