You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I want to add a recurring service from a remote page but get the following error message in the shopping cart
An error was encountered while adding the selected item. Required information was not completed. Please try again.
I have the following form element
<form action="index.php" method="post" id="remoteadd" />
<input type="hidden" name="app" id="app" value="gbu0" />
<input type="hidden" name="ns" id="ns" value="addcart" />
<input type="hidden" name="cart_api" id="cart_api" value="Y" />
<input type="hidden" name="recurprice" id="recurprice" value="8.00" />
<input type="hidden" name="quantity" id="quantity" value="1" />
<input type="hidden" name="name" id="name" value="membership" />
<input type="hidden" name="number" id="number" value="M001" />
<input type="hidden" name="delivery_method" id="delivery_method" value="N" />
<input type="hidden" name="taxcountry" id="taxcountry" value="STANDARD" />
<button>add to cart</button>
</form>
When I change name and id to "price" instead of "recurprice", the product is accepted.
Is there a possibility to add a recurring service from a remote page or is there something missing?
Offline
You will need both a price and a recurprice field (even if price is zero). View the source of this page to view all available options:
https://kryptronic.com/media/ecom/examp … tform.html
Offline
Thank you, it's working. Now I understand what it means in the description "This is the portion of the price ...."
Offline