Try the PayPal Checkout button

Our customizable, working code allows you to change the color, size, and shape of the Checkout button. Give it a try and then click the button to preview your buyer’s checkout experience.

The safer, easier way to pay
Don’t see the secure PayPal browser? We’ll help you re-launch the window to complete your purchase.
paypal.Button.render({
  env: 'sandbox',
  client: {
    sandbox: 'demo_sandbox_client_id'
  },
  style: {
    color: 'gold',   // 'gold, 'blue', 'silver', 'black'
    size:  'medium', // 'medium', 'small', 'large', 'responsive'
    shape: 'rect'    // 'rect', 'pill'
  },
  payment: function (data, actions) {
    return actions.payment.create({
      transactions: [{
        amount: {
          total: '0.01',
          currency: 'USD'
        }
      }]
    });
  },
  onAuthorize: function (data, actions) {
    return actions.payment.execute()
      .then(function () {
        window.alert('Thank you for your purchase!');
      });
  }
}, '#paypal-button');

Next, learn how to integrate PayPal Checkout Smart Payment Buttons with your web browser, web server, and mobile app.

Third-party solution providers

Our solution providers already have PayPal built-in and can help you with creating an online store, managing finances, building a website, and more.

Shopping Carts

Third-party shopping cart software for accepting payments.

Financial Management

Ready-made solutions for billing, invoicing, accounting, and more.

Specialty Platforms

Alternative ways to sell online through specialty platforms and marketplaces.

aJTdIjye2G7VodE1VRh0lUwQLU35uRz9l1bGple1+FVX4Dhq
Feedback