cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

SOLVED

Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

Hi

 

I have just install and configure Afterpay extension on my 1.9 Magento store. Could anyone guide me how i can display Afterpay Payment Estimate Widget on my Product Pages?

Screenshot
https://www.neto.com.au/assets/images/docs/5638/sample.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

@stafford group

 

Do you want to perform any custom operation via Afterpay widget ? If no, then there is an option available in Afterpay configuration to display the Afterpay installment details on product page (individual product display pages) and Category Pages. Just follow the steps below: 

 

  1. Navigate to System/Configuration/Sales/Afterpay
  2. Configure the display of the Afterpay installments details on Product Pages .
  3. Login to Magento Admin and navigate to System/Cache Management.
  4. Flush the cache storage by selecting Flush Cache Storage

Do let me know if this helps you.

-- Ravindra

View solution in original post

7 REPLIES 7

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

@stafford group

 

Do you want to perform any custom operation via Afterpay widget ? If no, then there is an option available in Afterpay configuration to display the Afterpay installment details on product page (individual product display pages) and Category Pages. Just follow the steps below: 

 

  1. Navigate to System/Configuration/Sales/Afterpay
  2. Configure the display of the Afterpay installments details on Product Pages .
  3. Login to Magento Admin and navigate to System/Cache Management.
  4. Flush the cache storage by selecting Flush Cache Storage

Do let me know if this helps you.

-- Ravindra

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

I appreciate your help. I m using default theme but still haven't got luck to display afterpay information under the product price in product detail page. I entered correct price block selectors in admin Please check the below screenshot. Still Nothing showing in frontend.

Admin Screenshot

https://prnt.sc/hnn5oe

Front End
https://prnt.sc/hnn74k

When I check console, I find relevant JavaScript showing in footer.

Screenshot 1
https://prnt.sc/hnna6l

Screenshot 2
https://prnt.sc/hnnad3

Could you please help me to configure this properly?

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

@stafford group

 

Definitely i will do my best to help you in this regard. By the way, Are you using Afterpay Sanbox mode ? if yes then email me the Merchant ID and Merchant Key provided by Afterpay in order to verify the problem and to see the configuration being set correctly or not.

-- Ravindra

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

@stafford group

 

Hi again.. you may need to update the "Update Limits" option available in the back-end under After pay configuration screen. I did the same and "installments" block in visible on product view page in my case. Do let me know if its help you.

-- Ravindra

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

Hi @Ravindra Pratap,

We are using afterpay payment method. Recently we found that javascript code is visible in our pages like below. It is visible as it is in the frontend. Not able to find this code in our code base and not sure from where it is appending to the body of the page. Can you please help if you know anything about it.

function() { var referrals = [ '^afterpay.com' ]; var hname = new RegExp('https?://([^/:]+)').exec(); if (hname) { for (var i = referrals.length; i--;) { if (new RegExp(referrals[i] + '$').test(hname[1])) { return null; } } } return ; }


--------
Give Kudos if it helped or if problem is solved Accept it as a solution


Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

@kalyanchakri

 

Just saw your message. If it's still a problem in your site then PM me the page address. I'll take a look and try to help you. 

-- Ravindra

Re: Magento 1.9.0.x - Afterpay Payment Estimate Widget on Product Pages

Hi @Ravindra Pratap,
Thanks for your concern. We fixed this issue. Sorry that it is not at all related to afterpay. Google analytics JavaScript has some issue. It got the afterpay keyword in it.