Difference between revisions of "Enabling PayPal Express Checkout"

From Spiffy Stores Knowledge Base

Line 1: Line 1:
The enable the PayPal express gateway, you will need to have a PayPal business account. If you don't have a PayPal account, [https://www.paypal.com/au/mrb/pal=LQDCZM9MFJBLQ click here to sign up for a PayPal account], and then return to this page.  
+
The enable the PayPal Express gateway, you will need to have a PayPal '''Business account'''. If you don't have a PayPal business account, [https://www.paypal.com/au/mrb/pal=LQDCZM9MFJBLQ click here to sign up for a PayPal account], and then return to this page.  
  
When you've set up your PayPal account, follow the steps below to enable PayPal Express in your store.  
+
== Part 1 - Configure your PayPal Account<br> ==
 +
 
 +
When you've set up your PayPal business account, follow the steps below to configure access to your PayPal account.  
  
 
1. Log in to manage your PayPal account  
 
1. Log in to manage your PayPal account  
Line 7: Line 9:
 
2. Navigate directly to the "Give Third Party API Permission" page.  
 
2. Navigate directly to the "Give Third Party API Permission" page.  
  
3. Enter studio_api1.spiffy.com.au as the API account username  
+
3. Enter '''studio_api1.spiffy.com.au''' as the API account username  
  
 
4. Check all of the boxes listed below, then click Submit <br>&nbsp;&nbsp; &nbsp;- Direct Payment <br>&nbsp;&nbsp; &nbsp;- PayPal Express Checkout <br>&nbsp;&nbsp; &nbsp;- Reporting and Backoffice APIs <br>&nbsp;&nbsp; &nbsp;- Authorization and Settlement APIs  
 
4. Check all of the boxes listed below, then click Submit <br>&nbsp;&nbsp; &nbsp;- Direct Payment <br>&nbsp;&nbsp; &nbsp;- PayPal Express Checkout <br>&nbsp;&nbsp; &nbsp;- Reporting and Backoffice APIs <br>&nbsp;&nbsp; &nbsp;- Authorization and Settlement APIs  
Line 15: Line 17:
 
6. Click the Edit button to edit the permissions and check ManagePendingTransactionStatus  
 
6. Click the Edit button to edit the permissions and check ManagePendingTransactionStatus  
  
7. Click Submit
+
7. Click Submit  
 +
 
 +
<br>
 +
 
 +
== Part 2 - Enable PayPal Express in your Spiffy Store<br> ==
 +
 
 +
Your PayPal account is now ready to connect to your Spiffy Store.&nbsp; You now need to follow the steps below to enable PayPal Express in your store. <br>
 +
 
 +
1.&nbsp; Log into your Spiffy Store<br>
 +
 
 +
2.&nbsp; Go to the "Checkout &amp; payment" page in the Preferences section<br>
 +
 
 +
3.&nbsp; In the PayPal section at the top, choose "PayPal Express Checkout"<br>
 +
 
 +
4.&nbsp; Type your PayPal account email into the "Account Email" field, and click the "Activate" button.<br>
 +
 
 +
<br>
 +
 
 +
Your Spiffy Store should now be set up to accept payments through PayPal Express checkout.&nbsp; To verify that it's all working, go to your store, and add a product to your cart.&nbsp; The PayPal Express button should appear under the "Update cart" and "Checkout" buttons.<br><br>
 +
 
 +
=== Help!&nbsp; 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.&nbsp; Instructions on how to do this are below.<br>
 +
 
 +
<br>
 +
 
 +
'''Adding the PayPal Express button to your cart page'''<br>
 +
 
 +
1.&nbsp; Log into your Spiffy Store Toolbox, and navigate to the "Theme editor" page.<br>
 +
 
 +
2.&nbsp; Scroll down to the "Theme templates" section, and click on your "Cart.liquid" file to edit it.<br>
 +
 
 +
3.&nbsp; Towards the bottom of the code, you should see a line that looks somehting like this;<br>
 +
<blockquote>&lt;input name="checkout" type="submit" class="button" id="checkout-button" value="Checkout"&gt;<br> </blockquote>
 +
4.&nbsp; Add the following code immediately after the checkout button tag;<br>
 +
<blockquote>{% if additional_checkout_buttons&nbsp;%}<br> &lt;div class="additional-checkout-buttons"&gt;<br> &lt;p&gt;- or -&lt;/p&gt;<br> {{ content_for_additional_checkout_buttons }}<br> &lt;/div&gt;<br> {% endif&nbsp;%}<br> </blockquote>
 +
5.&nbsp; Click the save button.&nbsp; The PayPal Express button should now appear under the "Update cart" and "Checkout" buttons.&nbsp; If you need to adjust the position of the button, you should do this using css.<br>

Revision as of 16:25, 20 August 2010

The enable the PayPal Express gateway, 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.

Part 1 - Configure your PayPal Account

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

1. Log in to manage your PayPal account

2. Navigate directly to the "Give Third Party API Permission" page.

3. Enter studio_api1.spiffy.com.au as the API account username

4. Check all of the boxes listed below, then click Submit
    - Direct Payment
    - PayPal Express Checkout
    - Reporting and Backoffice APIs
    - Authorization and Settlement APIs

5. On the following screen click the Give Permission button

6. Click the Edit button to edit the permissions and check ManagePendingTransactionStatus

7. Click Submit


Part 2 - Enable PayPal Express 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 Express in your store.

1.  Log into your Spiffy Store

2.  Go to the "Checkout & payment" page in the Preferences section

3.  In the PayPal section at the top, choose "PayPal Express Checkout"

4.  Type your PayPal account email into the "Account Email" field, and click the "Activate" button.


Your Spiffy Store should now be set up to accept payments through PayPal Express checkout.  To verify that it's all working, go to your store, and add a product to your cart.  The PayPal Express button should appear under the "Update cart" and "Checkout" buttons.

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 somehting 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;

{% if additional_checkout_buttons %}
<div class="additional-checkout-buttons">
<p>- or -</p>
Template:Content for additional checkout buttons
</div>
{% endif %}

5.  Click the save button.  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.