1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Programmatially add items to a users basket on third party

Discussion in 'Programming/Internet' started by 8bithero, Sep 12, 2018.

Tags: Add Tags
  1. 8bithero

    8bithero Guest

    I apologise in advance if this is not a typical Stack Overflow question.

    I'm building a website that sells products via an affiliate network. This means people click on a product link from my site then get redirected to the sellers site where they need to add the product to their basket and then purchase it.

    My question is, is there a way I can programmatically (batch) add the products to the users website? I.E. Have a card on my site, and when they click "buy" all products are added to the third party site automatically.

    I suspect this might not be possible via JavaScript due on my site due to XSS restrictions (I'm hoping someone will say it is actually possible): p Alternatively, would this be possible with a browser plugin?

    Sorry again for asking the question on here, but I'm really at a loss for what terms I should even search for to find what I'm looking for. Any leads for finding the feasibility or technical approach I could take would be greatly appreciated:)

    Login To add answer/comment

Share This Page