WebSite X5Help Center

 
Huveneers A.
Huveneers A.
User

[PRICE] is empty  en

Auteur : Huveneers A.
Visité 1006, Followers 1, Partagé 0  
Mots-clés :: empty,price

The field [PRICE] does not work in v10. It works fine in v9, but in v10 it's empty I use:

Posté le
6 RéPONSES - 1 CORRECT
Huveneers A.
Huveneers A.
User
Auteur

<input name="amount" type="hidden" value="[PRICE]"/>

Lire plus
Posté le de Huveneers A.
Incomedia
Claudio D.
Incomedia

Hello Huveneers,

I tried the [PRICE] tag and it works in Version 10. As test you can simply add the tag instead of the full code to see the result in a test environment.

Many thanks!

Lire plus
Posté le de Claudio D.
Huveneers A.
Huveneers A.
User
Auteur

I don't understand what you mean by that. Is use the paymentscript:

<form method="post" action="https://www.sofort.com/payment/start">

       <input name="amount" type="hidden" value="[PRICE]"/>

       <input name="currency_id" type="hidden" value="EUR"/>

       <input name="reason_1" type="hidden" value="Ordernumber"/>

       <input name="reason_2" type="hidden" value="[ORDER_NO]"/>

       <input name="user_id" type="hidden" value="my user ID for sofort"/>

       <input name="project_id" type="hidden" value="my project ID from sofort"/>

       <input type="submit" value="Pay with Sofortbanking"/>

</form>

When I put a value instead of [PRICE] it's working. When I use [PRICE] I get the error from Sofort banking that there is no value. In v9 it works correctly

Lire plus
Posté le de Huveneers A.
Huveneers A.
Huveneers A.
User
Auteur

Can someone help me please?

Lire plus
Posté le de Huveneers A.
Incomedia
Claudio D.
Incomedia

Hello Huveneers,

I tried your code and the Value [PRICE] was added but there is also present the currency and this could be that is not accepted by your bank. Try to add intead of [PRICE] the following code [PRICE, 1, #.###,@@] and test this one.

Please keep me updated.

Lire plus
Posté le de Claudio D.
Huveneers A.
Huveneers A.
User
Auteur

Claudio, this is working! Beautiful. Sofort banking is now also working in v10

Lire plus
Posté le de Huveneers A.