WebSite X5Help Center

 
Huveneers A.
Huveneers A.
User

[PRICE] is empty  en

Autor: Huveneers A.
Visited 1009, Followers 1, Udostępniony 0  
Tagi: empty,price

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

Posted on the
6 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Huveneers A.
Huveneers A.
User
Autor

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

Czytaj więcej
Posted on the from 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!

Czytaj więcej
Posted on the from Claudio D.
Huveneers A.
Huveneers A.
User
Autor

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

Czytaj więcej
Posted on the from Huveneers A.
Huveneers A.
Huveneers A.
User
Autor

Can someone help me please?

Czytaj więcej
Posted on the from 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.

Czytaj więcej
Posted on the from Claudio D.
Huveneers A.
Huveneers A.
User
Autor

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

Czytaj więcej
Posted on the from Huveneers A.