I created a button for some products online, but when the buyer clicks the button the buyer is taken to the PayPal sign in page. I thought the buyer would be taken to the PayPal shopping cart page so they could pay.
Issue #1 buyer isn't taken to shopping cart
Issue #2 i want buyer to be able to buy even if they don't have a PayPal account
We need to see what is actually going on, else we have to guess, can you provide a URL?
Here's the guess. Are you using Frames in the design of your web site? If yes, then this applies:
For security reasons, PayPal does not allow the use of their payment pages to be displayed inside of a Frame. When a PayPal page is displayed in a Frame, it is unsecure causing it to time out and/or be blocked.
You can fix this by simply adding target="paypal" in the <form action> tag of the HTML code. This will prevent the PayPal payment page from being displayed in a Frame.
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
As for your second question:
Things to know about the Credit Card Option:
First, your Item Button Code require no special coding. It's related to how your Account is setup.
* Account must be either Premier or Business.
* PayPal Account Optional is turned on - this enables non PP Members to pay by Credit Card
* The email address you use to log into your PayPal Account must be verified.
* The "business" variable value in your button code must be a verified email address or your Business ID.
* Bank account registered and verified/tested - so you can transfer funds
* Credit card registered - (not required but a good idea)
To turn on the PayPal Account Optional feature:
Login to your PayPal Account, select "Edit Profile", under "Selling Preferences", select "Website Payment Preferences", scroll down to "PayPal Account Optional".
Next, there are specific reasons the Credit Card Option may not be available.
* You are using Express Checkout. Express Checkout requires a PayPal Account
* You are using the wrong email address, an unverified email address or Business ID for your "business" variable value.
* The country you reside in. Not all countries have all the PayPal features available.
* The country your customers reside in. Not all countries have all PayPal features available.
* The IP address of your hosted site is on a blocked list.
Check out this link, it can tell you what features are available to the individual counties.
Last, you have your PayPal Account setup properly but, still don't see the Credit Card Option or only see a small link to the Credit Card Option.
It's all about the cookies. The PayPal Screens are designed to be displayed in a specific way and what you see is based on the cookies and/or your PayPal Account configuration.
If this is your second or third visit to PayPal and your previous cookie has not expired, PayPal now views you as a returning customer. You will get a screen with a small link to the Credit Card Option. Although this is not as obvious to the customer, the Credit Card Option is still available. For example, the cookie that holds the cart info will retain that info for up to 21 days. The only way it will change is if you remove the items selected from the cart or delete the cookie.
If you are testing your web pages, creating new code or making changes, etc., simply delete your web browser's cookies, then close your web browser, reopen it and try your web pages again. When you view the PayPal Screens, you will now get the screen with the Credit Card Option because PayPal views you as a new visitor.
Other reasons for deleting cookies. Let's say you changed your business email address or business graphic logo. If you don't delete the cookies before you test, you will still see the old information.