Html code problem about payment term
Autor: Caner Kemalbay
Besucht 897,
Followers 2,
Geteilt 0
I have 2 problems for my project. First problem is about html code. I put html code in paymnet term to forward customer "3dhosting payment page of my bank". Normally it works in the project. But after i put my project online, the code does not work. I got generic error. Here i put screenshot about this.
Why this code does not work "online" ?
My second question is, I would like to change the order of the shopping card page. where can I change the ranking of shopping cart ? And can i change sopping cart page type as php or aspx from "page properties " ?
Thanks for your kindly help
Gepostet am
Hi Caner
Unfortunately, the screenshots you posted seem to be unavailable since they're not loading for me. Perhaps if you could link your website here to me I could test it out better
Keep in mind that the Staff cannot offer support for third-party code implementations anyway, so I'm not really sure I can be of help in any case
I'm not sure what you mean about the order of shopping card page. If for example, you wished to change the order in which the pages of the checkout process are presented, this is currently not possible. They're designed to appear one after the other according to a precise logic in order for it to work correctly.
Also, the shopping page cannot currently be set to ASP. Only the normal pages might, but more advanced functionalities such as the e-commerce mandatorily require PHP to run correctly
I hope I've been helpful
Stefano
Autor
Hi Stefano,
Thanks for your reply. Here i attached the photos again. I hope you can see now. I use this html code as below:
<center>
<form method="post" action="https://sanaltest.denizbank.com/mpi/3DHost.aspx">
<input type="hidden" name="ShopCode" value="3123">
<input type="hidden" name="PurchAmount" value="2.02">
<input type="hidden" name="Currency" value="949">
<input type="hidden" name="OrderId" value="www.google.com">
<input type="hidden" name="OkUrl" value="www.google.com">
<input type="hidden" name="FailUrl" value="www.google.com">
<input type="hidden" name="Rnd" value="123" >
<input type="hidden" name="Hash" value="123" >
<input type="hidden" name="TxnType" value="Auth" />
<input type="hidden" name="InstallmentCount" value="1" />
<input type="hidden" name="SecureType" value="3DHost" >
<input type="hidden" name="Lang" value="tr">
<input type="submit" value="Öde" />
</form>
</center>
This code works when i test in in the program. But it doesn't work when i test this code online. I get "generic error" . I can not reach bank page.
I have one more problem about my webside. I try to use "search button" but i doesn't work. I got this message
Parse error: syntax error, unexpected T_FUNCTION in C:\inetpub\vhosts\evimdunyam.com\httpdocs\deneme1\res\x5engine.php on line 4359
Thank you very much for your kindly help
Hi Caner
As indicated by me before, the Staff cannot offer support for third-party code implementations. I am really afraid that you will need to either ask for the code publisher or an expert to help you out with this specific implementation.
About the other issue instead, this looks like an error due to the PHP version currently installed on your hosting.
Contact your hosting support and ask them to upgrade your PHP version to v7.x
This should take care of the mentioned error
Keep me posted here after
Thank you
Stefano
Autor
Hi Stefano,
I upgrade the PHP version and now it is ok. But i have another problem now. I contacted with my bank and i need 2 step to make the credict card payment. First step, the link will take customer to the bank payment page (3DHosting payment page). And second step, after the payment is successful the page will take the customer to my webside, or if the payment is unsucessful, it will be written there "page unsuccessful" . So for these 2 steps, how can i do this ? My bank advice me to contact with your programmer to solve that part. They sent me 2 file to send customer to the 'bank test page' . So please help me about this.
Thanks for your help.
Autor
Can i change the "shopping cart" page as .php format ? it will be working if i change the shoppingcart page to .php format
Hi Caner
The shopping cart pages are generated automatically but you should be able to turn them into PHP if you wish to.
Navigate to Step 3:
And set the page to PHP:
As I mentioned before, the Staff cannot offer support for third-party code implementations anyway and for this reason, I am unable to help with the implementation of the code, whatever it might be
I hope I've been helpful nonetheless
Thank you
Stefano
Autor
Hi Stefano,
Did you check my codes ? How can i make it works ?
Hi Caner
As I mentioned before, no. The Staff cannot offer support for third-party code implementations and for this reason, I am unable to help with the implementation of the code, whatever it might be.
If you need help in integrating the custom code inside your website, I would like to suggest contacting a professional directly or seeking the support of the Staff of the service which provided the code in the first place
I apologize for not being able to help further with this
Stefano