WebSite X5Help Center

 
Andy G.
Andy G.
User

Custom code for credit card payment  en

Autor: Andy G.
Visited 4345, Followers 3, Udostępniony 0  

Hi,

I am trying to set up a custom code for credit/debit card payments. I have asked this question previously and been told i would have to get the html code from the bank. However, the bank say they do not provide this. They have given the the API and transaction key codes but i can't find anything on the internet about how to make the html the enter these. Anyone have any suggestions please?

THanks

Posted on the
9 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Paul M.
Paul M.
Moderator

Hello Andy,

What bank/payment provider do you refer to?

Kind regards,

Paul

Czytaj więcej
Posted on the from Paul M.
Andy G.
Andy G.
User
Autor

Oh and Authorize.net 

Czytaj więcej
Posted on the from Andy G.
Paul M.
Paul M.
Moderator

When using a custom code payment type in WebSite X5 it is necessary to populate two variables, as follows:

The HTML code from the payment service provider is used to create the "Pay now" button, and it must include the ordered article's code and its price. You have to enter the following tags manually in the code, otherwise the shopping cart will not work correctly:

[ORDER_NO] - the order number is entered here;

[PRICE] - the price is entered here.

http://help.websitex5.com/en/v12/evo/index.html?metodo_pagamento.htm

You don't need full access to the API...  just a small piece of HTML code which you add in Step 4 Advanced Settings > Shopping Cart > Order Management > Payment Type > Custom Code  -  the rest of the configuration is done inside your account on the payment merchant's site.

Here is the link to the relevant page for Authorize.net:

http://www.authorize.net/solutions/merchantsolutions/merchantservices/simplecheckout/

Things are a bit more obscure with regards to Chase Paymentech: most of the relevant documentation seems to be hidden away in protected pages which you need an account to access:

https://www.chasepaymentech.com/developercenter/

Once you have registered and logged in you need to again look for information concerning simple payment solutions using 'Pay Now' buttons, as opposed to solutions which involve the API.

On a personal note I would say that if Chase Paymentech are not willing to assist and help you locate the right information on their own website, then you would be better off voting with your feet and using an alternative payment provider.  Mainly because if they won't assist with basic requests for information in that way, then they are unlikely to provide good service when dealing with transactional issues and payment problems.  Reviews from existing/prior users are poor:

http://payment-gateways.credio.com/compare/5-34/Chase-Paymentech-vs-First-Data-E-Commerce-Solution

Good luck!

Czytaj więcej
Posted on the from Paul M.
Andy G.
Andy G.
User
Autor

Hi Paul,

Thanks again for the reply.

With authorize.net I have found this page which contains "Charge a Credit Card and "Create a Visa Checkout Transaction"

page http://developer.authorize.net/api/reference/index.html#visa-checkout

I am a little confused as they do not have any html option to add to the shopping cart. Wold xml or php work? I can see they do for simple checkout but this apparently only applies if you only have one product or are accepting donations. The website i am creating will have 100's of products all priced at different ammounts. 

I'm actually reating it for aomeone else but have advised them to talk to authorize support to try and get more info. 

Cheers

Czytaj więcej
Posted on the from Andy G.
Paul M.
Paul M.
Moderator
Andy G.
I can see they do for simple checkout but this apparently only applies if you only have one product or are accepting donations.

You should be able to use the simple checkout in such a way that the entire order becomes 'one product'.  Is it possible you could attach the simple checkout documentation so we can help you further?

You can use PHP in conjunction with the API if you wish, but it will be a lot more work and won't integrate with the WebSite X5 shopping cart in the same way.  I don't recommend going down that route unless you enjoy programming and are competent at it.  

Czytaj więcej
Posted on the from Paul M.
Andy G.
Andy G.
User
Autor

The client has decided to use another provider. Do you have any recommendations? They only want to go with an American company but are not keen on paypal or google wallet. Clients huh?

Czytaj więcej
Posted on the from Andy G.
Barry Maloney
Barry Maloney
User

If they don't like PayPal and the like, the only other way is for your client to apply for a merchant account with their bank. The bank will then supply the correct code to add to site.

Czytaj więcej
Posted on the from Barry Maloney
Andy G.
Andy G.
User
Autor

I've suggested that as well but they don't seem keen on the idea. 

Thanks for all your help though.

Really appreciate that. I'll just wait and see what the client finally decides on. 

Cheers

Czytaj więcej
Posted on the from Andy G.