Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8978347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:35:22+00:00 2026-06-15T19:35:22+00:00

I use on my site Paypal hosted bottons. When visitors click buttons on my

  • 0

I use on my site Paypal hosted bottons. When visitors click buttons on my site, a process all data on server, after that i get from paypal via api special link and simply redirect visitors to Paypal

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXXXXXXXXXXXX

All data like paypal account, custom field, prices and sicounts are safe.

Now I want to implement third party shopping cart on my site. I want to prepare all data like product name, price, discounts, coupons, special offers, etc on server side and redirrect visitors to paypal

But I can’t find analog of hosted button for shopping cart form on Paypal manuals

So I should to use usual form with hidden fields

    <div>
    <form method="post" action="https://www.sandbox.paypal.com/cgi-bin/webscr">
        <input type="hidden" name="cmd" value="_cart">
        <input type="hidden" name="upload" value="1">
        <input type="hidden" name="business" value="my@email.com">
        <input type="hidden" name="custom" value="asgasgasgagahsdgsdghsgag">
        <input type="hidden" name="currency_code" value="EUR">
        <input type="hidden" name="return" value="http://return.link">
        <input type="hidden" name="cancel_return" value="http://cancel.link">
        <ul>
            <li>
                <input name="quantity_1" value="1">
                <input type="hidden" name="item_name_1" value="Product 1">
                <input type="hidden" name="amount_1" value="25.01">
                <input type="hidden" name="discount_amount_1" value="5.00">
            </li>
            <li>
                <input name="quantity_2" value="1">
                <input type="hidden" name="item_name_2" value="Product 2">
                <input type="hidden" name="amount_2" value="12.71">
                <input type="hidden" name="discount_amount_2" value="5.00">
            </li>
        </ul>
        <input type="submit" value="Checkout">
    </form>
</div>

I don’t like this way, cause data like account email, custom variable, prices and discounts are note safe

Is there any analog of hosted button for shopping cart in paypal?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:35:23+00:00Added an answer on June 15, 2026 at 7:35 pm

    I would recommend using the Express Checkout API instead of Payments Standard. This gives you complete freedom to customize the checkout solution the way you need to and use your own dynamic variables, etc. but everything is nicely hidden from users because it all happens over the API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have clients that use our web site (asp.net) that they have to be
First attempt to use this cool site - after searching for 2 hours: So
Scrollbars get quite a bit of use in the site i'm working on and
I need to create dynamic 'Pay Now' buttons on my site, and PayPal says
i want to use paypal as my payment gateway with php. I want that
I am trying to use paypal ipn to have members on my site buy
I have an application that needs securing. The data is data from Paypal that
On my site I use require.js to manage my code, on the main page
The Django admin site makes use of a really cool widget: How can I
I'm switching over our site to use Asynchronous Google Analytics, and I'm curious about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.