How to insert Paypal Buy Now Pay Later Button

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…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…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.

1 Like

I need assistance with this as well :disappointed_face:

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-this-as-a-payment-option/td-p/296045

1 Like

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

2 Likes

@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.

Oh Great.
I will do that.
Thank You.

I need assistance too

Is it Working on your side

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!!

11 Likes

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

1 Like

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.

2 Likes

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

2 Likes

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

Well

i was looking to add this but more shopify issues

think its time to move

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.

3 Likes

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.

2 Likes

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

1 Like

Have stuffed around for a while.

go here and edit how you want the messaging to look then click get code: https://www.paypal.com/ppcredit/messaging/customize?layout=text&device=message&logo-type=primary&text-color=black

In the (near the top of your theme.liquid) add the code generated which looks similar to this. (but not this or it might break)

Go to product.liquid and add this under the price area in your code. Stuff around to find the right spot on-page.

Code working here https://artark.com.au/products/simon-namunjdja-mimih-spirit-sculpture-75cm

6 Likes

AfterPay charges 6% - PayPal 2.9% = worth the extra time to get right

3 Likes

Are you using a theme when you set this up or have you made a custom cart?

I need this explained in simple terms lol :joy: I can’t even figure out where to paste the codes ??‍ :female_sign:

1 Like