-
AuthorPosts
-
September 11, 2018 at 5:49 pm #1008474
I’m trying to implement WorldPay on my site using the code below:
<form action=”https://secure-test.worldpay.com/wcc/purchase” method=POST> <!-- This next line contains the testMode parameter - it specifies that the submission is a test submission --> <input type=”hidden” name=”testMode” value=”100”> <!-- This next line contains a mandatory parameter. Put your Installation ID inside the quotes after value= --> <!-- You will need to get the installation ID from your Worldpay account. Login to your account, click setting and under installations you should have an option called select junior and a number, put the number between “” e.g. “123456”--> <input type=”hidden” name=”instId” value=”Your installation ID“> <!-- Another mandatory parameter. Put your own reference identifier for the item purchased inside the quotes after value= --> <input type=”hidden” name=”cartId” value=”Your ID for the product”> <!-- Another mandatory parameter. Put the total cost of the item inside the quotes --> <input type=”hidden” name=”amount” value=”10.99“> <!-- Another mandatory parameter. Put the code for the purchase currency inside the quotes after value= --> <input type=”hidden” name=”currency” value=”GBP”> <!-- This creates the button. When it is selected in the browser, the form submits the purchase details to us. --> <input type=submit value=” Buy This “> </form>
But as you can see, the values are showing and the button doesn’t display properly, even though it’s in a code block.
https://www.ofas.org.uk/world-pay/
Any ideas?
September 11, 2018 at 8:38 pm #1008595Hey alanboyle5355,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
BasilisSeptember 11, 2018 at 11:19 pm #1008642Thanks for getting back so quickly. Why would basic HTML need customisation to work?
September 12, 2018 at 6:34 am #1008723Hi,
Where did you copy the code from? The quotes look a bit funny, that’s why I’m asking.
value=”100”
Try replacing all the quotes to see if that helps:
value="100"
Best regards,
RikardSeptember 12, 2018 at 11:03 am #1008846Sorry – you’re absolutely right, it’s the quotes!
September 13, 2018 at 4:13 am #1009176 -
AuthorPosts
- You must be logged in to reply to this topic.