Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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?

    #1008595

    Hey 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,
    Basilis

    #1008642

    Thanks for getting back so quickly. Why would basic HTML need customisation to work?

    #1008723

    Hi,

    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,
    Rikard

    #1008846

    Sorry – you’re absolutely right, it’s the quotes!

    #1009176

    Hi,

    Great, glad you found the problem :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.