Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Outside OSC Quick Purchase BUttons


Belaird

Recommended Posts

I would like to have a seperate domain make purchases of a single item that I feature on another site (but also sell in my store). Is there a way to post a url to OSC from site 1 to site 2 (where OSC lives) to make a quick purchase of that item.

 

This would help me in two ways, have Paypal accept payments from only one site and allow me use all the tracking account mangement functions in OSC.

 

Also I read several post abount the same paypal problem of customer not returning to OSC afetre payment and the order gets lost. If I enable auto return in Paypal it requires a URL, what URL do I send them to in OSC, the base index file?

 

TIA

Link to comment
Share on other sites

Is there a way to post a url to OSC from site 1 to site 2 (where OSC lives) to make a quick purchase of that item.
I think it can be done, the following code worked (used a text link instead of an image). Note that since I use Master Products MS2.2 your form parameters are likely different. View your source code on a page products_info.php and you will see the code you can try.
<html>
<body>
<form name="buy_now_" method="post" action="http://192.168.0.9/catalog/product_info.php?products_id=44&action=add_slave">
<a href="http://192.168.0.9/catalog/product_info.php?products_id=44&action=buy_now" type="submit">Click to buy this article</a></form>
</body>
</html>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...