Enabling PayPal Website Payments Standard

From Spiffy Stores Knowledge Base

Revision as of 10:12, 25 November 2016 by Shawn (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
PayPal logo.png
PayPal Website Payments Standard adds PayPal as a payment method in your checkout. The customer submits their order, and is redirected to the PayPal site to pay for their order. At this point, the order is saved in your store with the payment status set to "Unpaid".

When they have paid, they are redirected back to your store, and your store marks the payment as received.

If you also want to enable PayPal Express, you will need to have a PayPal Business account. If you don't have a PayPal Business account, click here to sign up for a PayPal account, and then return to this page.

Contents

Part 1 - Configure your PayPal Account

When you've set up your PayPal account, follow the steps below to configure access to your PayPal account.

Include Shipping charges from your store

You need to configure PayPal to include the shipping charges that are calculated by your store.

  1. Log in to manage your PayPal account
  2. Click on "Profile" under "My Account" in the top menu.
  3. Click on "Update" under "My Selling tools" -> "Shipping calculations".
  4. Tick the box that says "Click here to allow transaction-based postage values to override the profile postage settings listed above (if profile settings are enabled)"
  5. Click the "Save" button

Accept payments from customers without a PayPal account

You can allow your customer to make payments using PayPal even if they don't have their own PayPal account. Unfortunately all Paypal transactions processed in this method are not protected by PayPal's seller protection... so there is a risk of fraudulent transactions.

  1. Log in to manage your PayPal account
  2. Click on "Profile" under "My Account" in the top menu.
  3. Click on "Update" under "My Selling tools" -> "Website preferences".
  4. Select the option that enables "PayPal Account Optional"
  5. Click the "Save" button

Automatic Return at the end of the transaction

Once a customer has made their payment using PayPal, a confirmation message is displayed and the customer is prompted to click a link to return to your store. If the customer does not click on this link, then any tracking code that you have installed will not be triggered and your site statistics may not correctly reflect the actual number of orders that have been processed.

You can enable the "Auto Return" feature in PayPal so that the customer is automatically redirected back to your store once the transaction has been completed.

  1. Log in to manage your PayPal account
  2. Click on "Profile" under "My Account" in the top menu.
  3. Click on "Update" under "My Selling tools" -> "Website preferences".
  4. Select the option that enables "Auto Return"
  5. Enter your store's web address as the "Return URL". For example, http://mystore.spiffystores.com.
  6. Click the "Save" button

Part 2 - Enable PayPal Website Payments Standard in your Spiffy Store

Your PayPal account is now ready to connect to your Spiffy Store. You now need to follow the steps below to enable PayPal in your store.

To use PayPal without PayPal Express

  1. Log in to your Spiffy Store Toolbox
  2. Go to the "Checkout & payment" page in the Preferences section
  3. In the PayPal section at the top, choose "PayPal Website Payments Standard"
  4. Type your PayPal account email into the "Account Email" field, and click the "Activate" button.

To use PayPal Express alongside PayPal Website Payments Standard

  1. Log in to your Spiffy Store Toolbox
  2. Go to the "Checkout & payment" page in the Preferences section
  3. In the PayPal section at the top, click the edit link next to "PayPal Website Payments Standard"
  4. Tick the box next to "Enable PayPal Express" and click the "Save" button.
  5. You will then be redirected to the PayPal site…
  6. If not already logged in, log in and then grant permissions to Spiffy Stores by clicking on the Grant Permission button.

After you've followed the steps above, your Spiffy Store should now be set up to accept payments through PayPal Website Payments Standard. To verify that it's all working, go to your store, add a product to your cart.

The PayPal Express icon is displayed on your cart page. Clicking this button takes you through the steps of paying with PayPal Express. To view the PayPal Website payments Standard process, click the "Checkout" button (not the PayPal button) and proceed through to the last page of the checkout. The PayPal option should appear at the bottom of page 2 of the checkout.

Help! PayPal Express is showing errors!

You may get an error when enabling PayPal Express or you may get an error when trying to make a test purchase using PayPal Express. The error could look something like this...

Unable to connect to PayPal Express
You do not have permissions to make this API call
Please contact store for assistance or continue using another payment method 

If you encounter this error, please go to the "Preferences -> Checkout & payment" section of your Toolbox and DISABLE PAYPAL EXPRESS, save the changes, then edit it and try enabling it again. You should be redirected to the PayPal site again, where you will need to log in and approve the API requests that appear on the PayPal site after you've logged in.

If this continues to occur after disabling and re-enabling PayPal Express, please log in to your PayPal account, and go to the "Profile -> My Selling Tools -> API Access Update -> Add or edit API permissions" page, and remove any permissions you've added for "Spiffy Internet Services", then log out of PayPal completely, and try enabling PayPal Express again in your Toolbox.

If you continue to have problems, please ensure that the email address that you have used for your PayPal account has been verified.

Help! The PayPal Express button isn't showing up!

If the button isn't there, you may need to add a little code to your theme to make it show up. Instructions on how to do this are below.

Adding the PayPal Express button to your cart page

  1. Log into your Spiffy Store Toolbox, and navigate to the "Theme editor" page
  2. Scroll down to the "Theme templates" section, and click on your "Cart.liquid" file to edit it
  3. Towards the bottom of the code, you should see a line that looks something like this
    <input name="checkout" type="submit" class="button" id="checkout-button" value="Checkout">
  4. Add the following code immediately after the checkout button tag, then click "Save"
{% if additional_checkout_buttons %}
  <div class="additional-checkout-buttons">
    <p>- or -</p>
    {{ content_for_additional_checkout_buttons }}
  </div>
{% endif %}

The PayPal Express button should now appear under the "Update cart" and "Checkout" buttons. If you need to adjust the position of the button, you should do this using CSS.

Help! Checkout fails with the message "Payment has already been made for this InvoiceID"

You might see this message if you have multiple Spiffy Stores using the same PayPal account. By default, each Spiffy Store generates sequential invoice numbers as a simple number, usually starting at 1000. If you have multiple stores, then each store will generate a sequence of order numbers that will overlap with other stores using the same PayPal account. This means that PayPal may reject a new order if it has the same order number as a previous order that was placed via a different store using the same PayPal account.

In order to avoid this problem, simple go to "Preferences -> Standards & formats" and look at the "Adjust your standards and formats" section. You need to create a unique Order ID format for each store sharing the same PayPal account, and you can do this by clicking on the "(formatting)" link next to the "Order ID'.

Update the order id format by including a simple character prefix to distinguish each store. For example add a couple of letters in front of the invoice number,

#TS{{number}}


Help! The shipping price doesn't show up in PayPal Express

That is the way that PayPal Express works unfortunately. The shipping rate is shown to the customer when they return to your store to confirm their payment. If you don't like the way that PayPal Express works, you should just use PayPal Website Payments Standard instead.