Home Forums WC Vendors Pro Support Implementing Paypal Buttons into Product pages

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68983
    Alex G.
    Participant

    So here I am going @ excessive lengths to fix the issue of Seller Protection not being displayed for sellers due to Adaptive Payments not working.

    I’ve decided to settle this way:

    I want to make new products being posted generate a paypal button with the following code

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="[email protected]">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="item_name" value="Item Name">
    <input type="hidden" name="amount" value="50.00">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="button_subtype" value="services">
    <input type="hidden" name="no_note" value="0">
    <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    

    I want the whole code to be printed out on the product pages of users of my marketplace – the “[email protected]” to be the user’s paypal email set up upon vendor registration. the 50.00 to be the price of the item they post. the “Item Name” the name of their item.

    Can anyone here please help me implement this? I’d really appreciate the help as I wasn’t made aware of AP not protecting sellers… It’ll probably be the last support request I send in. I’ve been trying to find a solution ever since and this is the only way I’m going to get the results. All I need is to be given the code that I have to put in functions + the product template in order to generate this button on each product page. I will take care of removing the buy now button and arranging the look/design of the product page myself.

    I understand this won’t allow me to track sales or take percent fees but I have to do it for the protection of my sellers. I am also aware this will completely render my WCVendors / Woocommerce plugins useless but I need it in order to serve my users.

    #69095
    Anna
    Member

    @theweekndbible
    Hello Alex,
    This actually has nothing to do with WC Vendors or WC Vendors Pro.
    However I can suggest that you look at modifying the add to cart template via the actions in the woocommerce pages.
    If you need assistance with this custom code work for your site, we recommend the devs at https://codeable.io

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.