-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : PHP 7.1.7 .
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : none
Hi Hika Shop
I am attempting to get this plugin working here:
github.com/DeligenceTechnologies/DT-Fast...Payment-for-HikaShop
.
The idea being that this:
www.finalbug.net/store/product/23-fcpx-foundations
(01-FromHika-Shop-Product)
Should go to this:
sites.fastspring.com/finalbug/product/mfxone
(02-should-go-to-finalbug-fast-spring-store-with-product)
What is happening is that the finalbug Fast Spring shop shows up but there is no product in it!
(03-Goes-To-finalbug-fast-spring-store)
As of now I am using the Number 1 from 6 options at the Fast Spring end.
support.fastspring.com/hc/en-us/articles...ur-FastSpring-Store-
"Partial URL Path Name" =
sites.fastspring.com/finalbug/product/mfxone
FYI at the Hika end the "product code" = mfxone
In the plugin there is basically only one setting "Company ID" = finalbug
Fast Spring have more or less given up on me and this was the last thing they suggested:
I'm pretty sure they use Option 6 style linking. It's just really hard for me to see what's going on behind the scenes here, especially with that redirect coming into play.
A) Do you think that they are right? If not do you have another suggestion how to proceed?
If they are right they are suggesting posting this or similar code somewhere. Thoughts comments? Any ideas where?
Example Form with Quantity Box:
<form method="POST" action="http://sites.fastspring.com/finalbug/api/order">
<input type="hidden" name="operation" value="create"/>
<input type="hidden" name="destination" value="contents"/>
<p>
<input type="hidden" name="product_1_path" value="/mfxone">
<input type="text" name="product_1_quantity" value="0"/> FCPX Media Foundations
</p>
<p>
<input type="submit" value="Order Now"/>
</p>
</form>
OR
Example Form with Checkbox:
<form method="POST" action="http://sites.fastspring.com/finalbug/api/order">
<input type="hidden" name="operation" value="create"/>
<input type="hidden" name="destination" value="contents"/>
<p>
<input type="checkbox" name="product_1_path" value="/mfxone"/> FCPX Media Foundations
</p>
<p>
<input type="submit" value="Order Now"/>
</p>
</form>
Their guide lines:
The create order API may be used to pass one or more products to the shopping cart, finally landing on either the order contents page (shopping cart), or the checkout / user information page. For each call, any existing order is cleared and its contents are completely replaced. This is a useful option if you have your own forms where the customer is choosing multiple products and / or quantity.
Any help with this would be very greatly appreciated. It fells like I am in a no mans land between Reseller/Hika Shop/Plugin.
I believe that in this case...
if you have your own forms
...means the cart system from Hika Shop
thanks in advance
Paul