[PRICE] is empty
Author: Huveneers A.
Visited 1083,
Followers 1,
Shared 0
The field [PRICE] does not work in v10. It works fine in v9, but in v10 it's empty I use:
Posted on the
Author
<input name="amount" type="hidden" value="[PRICE]"/>
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!
Author
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
Author
Can someone help me please?
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.
Author
Claudio, this is working! Beautiful. Sofort banking is now also working in v10