Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Cant Add Paypal Buy Now Button

    I’m trying to add a buy now button on my site, I have the code from PayPal and have added it to the page you see after you have created an account, which is fine and works like a dream, but my problem is if people move away from the Your Account Has Been Created! Page they can no longer get to the buy now button,

    I have added the buy now button code to an item I am selling in the categories but when people click on this link it say your shopping cart is empty,

    Here’s the link

    http://www.scrap-archives.com/index....&products_id=1

    Here’s the link to the page where to button is working

    http://www.scrap-archives.com/index....ccount_success

    All the stuff on my site is free so, when people join they need to be approved but before I approve them they also need to pay the membership fee, this is why I’m trying to add the pay now button
    Does anybody know how I can change the code so it will take them to the PayPal page?

    Here’s the code I have from the button I have created from PayPal,

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="1356039">
    <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="">
    <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
    </form>

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    That's because Zen Cart doesn't support PayPal buy now buttons - you need to use the built in add to cart and go through the Zen Cart checkout process ...
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    Hi Kim,
    Many thanks for your help,
    The problem I have is that I cannot authorise the customer until they have paid, because every thing on the site is marked as free,
    Can I not alter the code?
    Also how come I can get the code to work on the checkout success page?

  4. #4
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    Anybody have any ideas on this one?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Cant Add Paypal Buy Now Button

    Here's a concept that might work, with some custom coding required:

    - set your customers-authorization mode to 3= Customer May Browse and May see Prices but Must be Authorized to Buy
    - customize the create-account logic so that the default customers-authorization mode is not-authorized
    - alter the core logic so that it allows prices and purchasing (overriding the CUSTOMERS_APPROVAL_AUTHORIZATION rule) for just the one product, ie: your membership
    - after the customer has purchased the membership, flip their customers-authorization status to authorized, so they can then see/buy the rest of your products


    Admin->Configuration->Customer Details->Customer Approval Status - Authorization Pending
    Customer must be Authorized to shop? (CUSTOMERS_APPROVAL_AUTHORIZATION)
    0= Not required
    1= Must be Authorized to Browse
    2= May browse but no prices unless Authorized
    3= Customer May Browse and May see Prices but Must be Authorized to Buy
    (default=0)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    Excellent, many thanks DrByte, I’ll start working on this now,
    I’ll let you know how it goes,

  7. #7
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    I found a way around my problem,

    I set the customer approval status to authorization pending

    Then I added a pay now button on an ez-page and it’s currently working fine for me,

    I’ve put several link around my site that take people to page where the buy it now button is,

    Hope this may help somebody else.

  8. #8
    Join Date
    Mar 2007
    Location
    hz,zj,China
    Posts
    97
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    Is there a way that we can add "Buy Now" button at the product description ? When customer clicks it, open a new window , directly to paypal.

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Cant Add Paypal Buy Now Button

    Quote Originally Posted by anewstone View Post
    Is there a way that we can add "Buy Now" button at the product description ? When customer clicks it, open a new window , directly to paypal.
    DrByte explains how in post #5
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #10
    Join Date
    Mar 2007
    Location
    hz,zj,China
    Posts
    97
    Plugin Contributions
    0

    Default Re: Cant Add Paypal Buy Now Button

    It's a bit different. I just want to add a "Buy Now" button, and don't want to change the logic. Thanks.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Change the Add to Cart button to Buy Now button
    By dastudio in forum Customization from the Admin
    Replies: 1
    Last Post: 24 Nov 2010, 09:44 PM
  2. Need Help, how to add PAYPAL BUY NOW button on the product page?
    By doug56patterson in forum General Questions
    Replies: 3
    Last Post: 14 Aug 2010, 07:53 PM
  3. How do I replace the Buy Now button with an Add to Cart button?
    By OrcaSoul in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 19 Feb 2010, 05:36 AM
  4. Again: No buy now or add to cart button
    By Patjuh87 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2006, 10:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR