How to insert Paypal Buy Now Pay Later Button

Solved
luxdepristine
Tourist
10 0 1

Hi All,

How do i insert PAYPAL BUY NOW PAY LATER In my shopify store at the checkout? I chatted with shopify and it seems i need to try the forum or hire an expert.

I was sent this Instruction, It Seems like i can not find this in my theme liquid? Help on this is GREATFUL appreciated.

  1. Copy the following code and paste between<head>...</head>on your page.
    <script
        src="https://www.paypal.com/sdk/js?client-id=AddR-KfJ9l1KImoKCH_f6Ppt__okx7sf2tcJbMxHqcu5Ay46kTBrhIKXfdhWdbXxHREZF9Z4XvQVbg61&components=messages"
        data-namespace="PayPalSDK">
    </script>
    Copy to clipboard
  2. Copy the following code and paste between<body>...</body>on your page anywhere you'd like your messages to appear. We recommend placing them near the price of your products or cart amount.
    <!--
        In your code, update data-pp-amount
        with the price or cart amount. For
        example, data-pp-amount="89.99" for
        a $89.99 product.
    -->
    <div
        data-pp-message
        data-pp-style-layout="text"
        data-pp-style-logo-type="inline"
        data-pp-style-text-color="black"
        data-pp-amount="ENTER_VALUE_HERE">
    </div>
    Copy to clipboard
  3. Update the value for data-pp-amount so that the SDK can display the most relevant messaging to your customers. For example, for a page with a $89.99 product, update it to data-pp-amount="89.99".
  4. Save your code changes and publish them to your production environment.
Accepted Solution (1)

Accepted Solutions
Jimi32
New Member
2 1 4

This is an accepted solution.

Anyone have any luck with this?? I can't quite comprehend that with these 2 giants, Paypal and Shopify, there's not any easy to find installation guide for adding Paypal Pay in 4 to one's Shopify site!!

View solution in original post

Replies 28 (28)
Ponzi
New Member
2 0 0

I need assistance with this as well 😞

Clarke-
Explorer
48 6 12

You cannot change the checkout unless you are Shopify plus.

These Paypal installation guidelines are for not for Shopify, this method if for developers creating their own checkout.

As far as I'm aware there isn't an integration for this yet. You have to use the default Paypal integration (customers will be offered credit when redirected to Paypals checkout, when appropriate.)

see this article https://community.shopify.com/c/Payments-Shipping-Fulfillment/Paypal-Credit-I-can-t-find-how-to-add-...

 

 

 

Please like and mark my post as a solution if I've helped you, thanks.
RandMboxes
Tourist
4 0 2

Clarke- Your reference unfortunately is from 2016. We need something more updated. So it would be nice if shopify can send an update.

Clarke-
Explorer
48 6 12

@RandMboxes Shopify cannot comment on the operation of Paypal's business, even Paypals closest partner eBay only displays a banner for PayPal credit.

The only option as mentioned in the link is to copy eBays approach and display a banner on carts/products that qualify for Paypal Credit (in the UK that would be purchases over £99).

Anyone making a qualifying purchase through Paypal will be offered credit.

 

Please like and mark my post as a solution if I've helped you, thanks.
luxdepristine
Tourist
10 0 1
Oh Great.
I will do that.
Thank You.
Cmin
New Member
2 0 0

I need assistance too

Cmin
New Member
2 0 0

Is it Working on your side

Jimi32
New Member
2 1 4

This is an accepted solution.

Anyone have any luck with this?? I can't quite comprehend that with these 2 giants, Paypal and Shopify, there's not any easy to find installation guide for adding Paypal Pay in 4 to one's Shopify site!!

na92129
Tourist
5 0 2

Can anyone help answer this, please.

When it says to change the "ENTER_VALUE_HERE" to 89.00.  This is a specific number.  The total cart amount is not use to show the 4 payments amount.  It use the amount I inserted like $100.

Shouldn't this be generic so it use the amount from the total cart amount or product price?  Does anyone know how I can do that.  

Using Retina Theme - Out of the Sandbox.  Thank you

 

na92129
Tourist
5 0 2

Update - to make it dynamic, I was able to use this for product variant

data-pp-amount= "{{ variant.price | money_without_currency | remove: "," | divide_by: 100 }}"

and this for cart total

data-pp-amount="{{ cart.total_price | money_without_currency | remove: "," | divide_by: 100 }}"

I hope this helps someone. Please note, there are probably other ways of doing this as well based on your code/theme.  However, I wanted to post as it took me a while to find a good example of of changing the $89.00 with a generic one.

Florian2
Shopify Expert
5 0 2

this one might be even a bit more dynamic : {{ product.selected_or_first_available_variant.price | money_without_currency }} 🙂

imz3r0c00l
Tourist
11 0 2

Both of the above work when there is a single variant. 

Any of you have an idea on how to update the paypal monthly estimate when the user selects a different variant that has a change in price? 

same question for updating the total in case the customer purchases more than a single item. 

have not really found a smooth solution. 

 

Regards,

 

Patrick

 

 

Hobbycircuit
New Member
1 0 0

Well

i was looking to add this but more shopify issues 

think its time to move

keysol
Tourist
3 0 2

Hi Guys,

This worked for me on the product page.

data-pp-amount="{{ current_variant.price | money_without_currency | remove: "," | divided_by: 100 }}"

And for cart page

data-pp-amount="{{ cart.total_price | money_without_currency | remove: "," | divided_by: 100 }}

I hope it helps.

Thank you

ambience7777
New Member
5 0 0

they are totally retarded

 

it was so much easier implementing AFTERPAY..  they even have the assets for you to promote using their graphics. it's amazing..

no wonder people turn away from paypal.. there's no documentation.. everything is so generic.. it's so spastic

StudioSunn
Shopify Partner
2 0 0

@Jimi32 wrote:

Anyone have any luck with this?? I can't quite comprehend that with these 2 giants, Paypal and Shopify, there's not any easy to find installation guide for adding Paypal Pay in 4 to one's Shopify site!!


Shopify literally chose not to integrate. This from PayPal Technical Support today:

"I understand that you would like to integrate Pay Later feature on your Shopify website.

Unfortunately, Shopify doesn't support to display Pay Later button/messages on their PayPal integration process to your Shopify website, and Shopify is the sole decider of this feature with the full control of that."

This is why you can't find any information in the Developer section of PayPal about setting up Pay Later/Pay in 4 on a Shopify site (although it's fine if you're on BigCommerce, WooCommerce or Magento!). The only reasoning I can fathom for this is that Shopify would be working on a Pay Later scheme for ShopPay/ShopifyPayments - that's just a guess though.

Irieroots
New Member
2 0 0

What’s even more frustrating is I hired a Shopify expert for help, provided the exact coding required for the the pay in 4 buttons, and it’s still not showing. Only offered credit. A waste of time and money. There should be information that states the pay in 4 isn’t available. 

ambience7777
New Member
5 0 0

Problem with Paypal.. they are not consistent with their brand assets.

With Afterpay, they are so organised with brand assets and integration, supplying all the assets for their partners to deploy and use..

so you don't have to design your own or touch their logo

that's how you have a consistent branding.. so now i have to create my own Paypal Pay in 4 logo.. it's stupid.

mezomc
New Member
1 0 0

{{ product.selected_variant.price | divided_by: 100.00 }}