WebSite X5Help Center

 
Isaac O.
Isaac O.
User

Pago Con Tarjeta De Crédito En El Carrito De Compra  en

Author: Isaac O.
Visited 4262, Followers 2, Shared 37  

¿Se puede configurar además de transferencia bancaria, contrarembolso y PayPal, el pago con tarjeta de crédito de las compras hechas con el carrito de compra?

Gracias.

Posted on the
12 ANSWERS
Luca S.
Luca S.
User

Hello Isaac,

You can insert different method of payment. You can justgo to step4,ecommercecart,addshipping methodand goto the tab"type"choosingpay after(for examplebank).

Google Translate:

PagoConTarjetaDeCréditoEn ElCarritode Compra

¿Se PuedeconfigurarADEMÁSde TransferenciaBancaria,contrarembolsoyPayPal,el PagoConTarjetade Créditode lasComprashechasConel carritode Compra?
Gracias.

Read more
Posted on the from Luca S.
Isaac O.
Isaac O.
User
Author

Pay after is clear, and PayPal with immediately pay too. But, how can I configurate a credit card pay out of PayPal? It's possible? Comissions of PayPal are higher than can offer bank to me, if my customers pay through bank plataform.

Thank you.

Read more
Posted on the from Isaac O.
Luca S.
Luca S.
User

Hello Isaac,

you can insert also a custom payment inserting the html code for button buy now. For make this you should at the step 4 insert in the tab payment of ecommerce cart a payment with type "Payment", choose "immediate payment" and select as type of payment "custom payment". Here you should insert the html code which providesthe service bank. For hook the total price and order number you find more detail on the page 162 of manual WebSite downloadable from section download of Answers.

Read more
Posted on the from Luca S.
Isaac O.
Isaac O.
User
Author

Ok, I did it but something is wrong because when I use [PRICE] the amount send it to bank is incorrect. For example if the amount of order is 64,54€ in aplication of bank is 0,64€. Do you know why? [ORDER_NO] works well.

Read more
Posted on the from Isaac O.
Isaac O.
Isaac O.
User
Author

Me acaban de decir del banco que el importe se debe enviar sin ninguna coma ni punto, que la aplicación coge los dos últimos números cómo decimales. Es posible adaptar el campo [PRICE] de esta manera, o le puedo poner algún tipo de *100 al código html.

Gracias

Read more
Posted on the from Isaac O.
Isaac O.
Isaac O.
User
Author

Ya lo he solucionado con esto <input type="hidden" NAME="amount" value="[PRICE, 100, ######]" />

Read more
Posted on the from Isaac O.
Luca S.
Luca S.
User

Hello,

How you haveaddedthe parameterto allowthe correctdata changeCan youexplain in detail?

Google Translate:

Hola,

¿Cómoleha añadido elparámetro para que elcambio delos datos correctos?¿Puede explicaren detalle?

Read more
Posted on the from Luca S.
Isaac O.
Isaac O.
User
Author

Otro obstáculo, a ver si me podéis ayudar.

El caso es que tengo escrito todo el html para enlazar el carrito de la compra con el TPV en mi caso de "la Caixa". En el texto veréis como está solucionado el tema de los decimales.

Pero mi porblema ahora es el campo Ds_MerchantSignature, debe ser una concatenación de campos pero encriptados con SHA1 (concepto ampliado) y el caso es que no sé como debe hacer para encriptar. Os lo muestro:

<form action="</span><span class="apple-style-span">https://XXXXX/realizarPago" method="POST" name="formulario2">
<input type="hidden" name="Ds_Merchant_Amount" VALUE="[PRICE,100,######]">
<input type="hidden" name="Ds_Merchant_Currency" VALUE="XXX">
<input type="hidden" name="Ds_Merchant_Order" VALUE="[ORDER_NO]">
<input type="hidden" name="Ds_Merchant_Titular" VALUE="xxx">
<input type="hidden" name="Ds_Merchant_MerchantCode"VALUE="xxx">
<input type="hidden" name="Ds_Merchant_UrlOK" VALUE="http://xxx">
<input type="hidden" name="Ds_Merchant_UrlKO" VALUE="http://xxx">
<input type="hidden" name="Ds_Merchant_MerchantName" VALUE="xxx">
<input type="hidden" name="Ds_Merchant_ConsumerLanguage" VALUE="001">

Aquí tengo el problema:

<input type="hidden" name="</span><span>Ds_Merchant_MerchantSignature" VALUE="</span><span>123456789</span><span>">

Debería encriptar con SHA1 la clave 123456789, ¿como lo hago?


Muchas gracias!

Read more
Posted on the from Isaac O.
Isaac O.
Isaac O.
User
Author

Indagando creo que la problemática se resume en:

1. Para encriptar en SHA1 hay que hacerlo en php
2.  [PRICE,100,######] y [ORDER_NO] que son en html deberían poderse llamar con algún comando php, para poder ser encriptados

Gracias por vuestras respuestas, es un tema bastante urgente e importante, y yo no tengo conocimientos de php ni html suficientes como para lograr enlazar con éxito el carrito de la compra y el TPV.

Read more
Posted on the from Isaac O.
Luca S.
Luca S.
User

Hello,

the encoding SHA1 should be execute from a script external because WebSite X5 don't allow encoding data from cryptography Sha1 or Base64- Md5. For cryprted data you should befor insert the form

<form action="</span><span class="apple-style-span">https://XXXXX/realizarPago" method="POST" name="formulario2">
<input type="hidden" name="Ds_Merchant_Amount" VALUE="[PRICE,100,######]">
<input type="hidden" name="Ds_Merchant_Currency" VALUE="XXX">
<input type="hidden" name="Ds_Merchant_Order" VALUE="[ORDER_NO]">
<input type="hidden" name="Ds_Merchant_Titular" VALUE="xxx">
<input type="hidden" name="Ds_Merchant_MerchantCode"VALUE="xxx">
<input type="hidden" name="Ds_Merchant_UrlOK" VALUE="http://xxx">
<input type="hidden" name="Ds_Merchant_UrlKO" VALUE="http://xxx">
<input type="hidden" name="Ds_Merchant_MerchantName" VALUE="xxx">
<input type="hidden" name="Ds_Merchant_ConsumerLanguage" VALUE="001">

and the service of pos should recover your data from action https://XXXXX/realizarPago and crypted data from a file PHP. We can't created a script but you can requesting it from your service of pos.

Google Translate:

Hola,

lacodificaciónSHA1se debeejecutardesde un scriptexterno porqueWebSite X5no permitenla codificación de datosde la criptografíaSHA1 oMD5-Base64.Para los datoscryprtedquebefordebeninsertar el formulario

<acción del formulario= "</ span><spanclass="apple-style-span">https://XXXXX/realizarPago"method ="POST"name = "formulario2">
<input type="hidden"name="Ds_Merchant_Amount"VALUE="[PRICE,100,######]">
<input type="hidden"name="Ds_Merchant_Currency"VALUE="XXX">
<input type="hidden"name="Ds_Merchant_Order"VALUE="[ORDER_NO]">
<input type="hidden"name="Ds_Merchant_Titular"VALUE="xxx">
<input type="hidden"name="Ds_Merchant_MerchantCode"VALUE="xxx">
<input type="hidden"name="Ds_Merchant_UrlOK"VALUE="http://xxx">
<input type="hidden"name="Ds_Merchant_UrlKO"VALUE="http://xxx">
<input type="hidden"name="Ds_Merchant_MerchantName"VALUE="xxx">
<input type="hidden"name="Ds_Merchant_ConsumerLanguage"VALUE="001">

y el serviciodepunto de ventadeberecuperar los datos dehttps://XXXXX/realizarPagoacción yencriptadode datos de unarchivo PHP.Nose puede crearun script, pero se puedesolicitar asu serviciodepos.

Read more
Posted on the from Luca S.
Isaac O.
Isaac O.
User
Author

Hola. El caso es que me pedís que haga el encriptado en el TPV, pero es que el TPV tiene que recibir los datos ya encriptadas. Además de que los TPVs no tienen este servicio, si los tuvieran y se mandaran los datos de Website hacia el TPV sin encriptar alguien podría acceder y realizar un mal uso. El encriptado se debería hacer desde la propia web, no fuera de ella.

Si lo podéis solucionar de alguna manera sería un gran avance, porque poder aceptar pagos con tarjeta es básico para mi tienda, y creo que para la de cualquiera.

Muchas gracias!

Read more
Posted on the from Isaac O.
Luca S.
Luca S.
User

Hello Jason,

you can try to insert the html code as you have written on. In this mode tou can verify if data ecommerce cart communicateswell withthe systempos. We don't know the function system pos, but you can try to verify the function load. Justrunthe test yougive usmore information.

Google Translate:

HolaJason,

se puede tratar deinsertar el código HTMLcomo usted haescrito.En este modotoupuede verificarsi los datosde comercio electrónicode comprase comunicabien con elsistema POS.No sabemosla función del sistemapunto de venta,pero usted puede intentarpara verificar lafunción de carga.Sólo tiene que ejecutarla prueba deque usted nos démás información.

Read more
Posted on the from Luca S.