Worldpay Integration - Manually adding data?
Autore: Glenn W.
Visite 2137,
Followers 1,
Condiviso 0
Hi there.
I've read, in a number of posts concerning the integration of Worldpay into the Payment type list, that I'd have to manually add the fields [ORDER_NO] & [PRICE]. I'm a little unsure what you mean by this? Could you explain by, maybe, showing a code example? Worldpay doesn't seem to offer a "Pay now" button-type integration and I'd be intrigued to see what you mean.
I'm using Evolution 10 and the site is www.hearts-of-oak.net. So far, we've not got the payment option online, but hope to, shortly.
Thanks
Postato il
Autore
No-one like to comment on this? Someone from Incomedia perhaps?
Hello Glenn,
you need add the [ORDER_NO] and [PRICE] in the Wordpay Integration, try to see the manual in the section about these field.
If you have trouble try to use another method, for example paypal.
Hope this help.
Autore
Hi Ricardo
To be honest, that's not very helpful.
In the manual, it speaks of the ordered article's code and it's price. This is fine, when only ordering one item, but what if customers want to order a number of items, does this mean that I need to generate a number for the complete order?
The fact is, I can't use Paypal. Paypal is fine for small orders etc, but with large value orders, the commission payable is too big. Our bank have given us a good deal, using Worldpay and I'd like to integrate it. To be honest, if Professional offered an easier way of doing it, I'd be upgrading to that, but it doesn't.
Overall, I'm really pleased with X5, but the technical support for the product does seem a little poor. I can see other people have had this issue and the responses haven't been very good.
Hello Glenn,
try to tell me the code that you insert in the ecart, so i can help you.
Let me know.
Autore
Hi Ricardo
OK, I've had some success with Worldpay. I currently have a chunk of code, that allows me to forward the [ORDER_NO] & [PRICE] to Worldpay and, I believe, that should work OK.
What seems to be the trouble now, is that the [PRICE] field forwards the price with 3 decimal places (e.g. £150.000), rather than 2 (£150.00). Is there a way of restricting it to 2?
The code for the "button" is attached in the text file.
Hello glenn,
i don't know this service, try to contact directly Worldpay and ask the script that you copy in your e-cart.
then you insert the filed [ORDER_NO] & [PRICE].
Or try wait another users that tell you more informations abouth this
Autore
Hi Ricardo
I've spoken to Worldpay, the code I've posted is directly from their site. They seem to think that the problem is the way that Evolution passes the price through on the [PRICE] field. It seems to show 2 decimal places on the form, but it turns into 3 on their page.
Hello Glenn,
try to contact woldpay and ask if they can modify her code ask them if there is another script.
Another alternative is use a different paymant system or Wait the answers by a user of this community that know Worldpay.
Autore
Thanks Riccardo
What I've done is to modify their code myself. By incorporating an extra hidden field and some Javascript to modify that field, it seems to do what it's supposed to do now.
Bit of a 'dirty' workaround, but it works, so I'm not complaining. If anyone else has done it differently, I'd love to know?
Thanks for your help!