My main question is: Can we have PayPal – Bill Me Later as standalone payment option on Magento checkout page?

I spent 2 months playing around with the payment method called “Bill Me Later”. After Magento released this information: http://www.magentocommerce.com/paypal/billmelater some Magento shop owners were fooled, that we have “Bill Me Later” as standalone payment option. Of course this is not true, because Mangeto just said to the world, that everybody can put PayPal – Bill Me Later banners on their shops.

To get PayPal – Bill Me Later in Magento we have to activate PayPal Payments Advanced from Magento admin. Also to apply some settings in https://manager.paypal.com . After doing all needed actions I ended up with hosted iframe which contains checkout options. This iframe appear after I complete all checkout steps and I press the “place order” button. The checkout options are:

  • checkout with PayPal
  • checkout with PayPal – Bill Me Later
  • Pay with credit or debit card

enter image description here

Do you know if PayPal – Bill Me Later can work in different way and we can have PayPal – Bill Me Later as standalone payment option / method or even if it's possible to place the PayPal advance iframe in the payment options block before the “place order” button is pressed.

So far I checked how the PayPal API works and found, that to get the iframe we have to pass the order id to PayPal and some other parameters. That makes me think, that it's impossible to have the iframe before we have an order, but may be somebody from the community faced the same problem and knows, how this can be achieved.

  • 2
    Just a bad hack, but you could push the iframe so high, that only the pay later button is visible. – Fabian Blechschmidt Apr 17 '13 at 7:51
  • This sounds nice, but the next problem, that should be solved is the fact, that I have to do a simulate click on the "BillMeLater" button. I am not totally sure, that this is possible to happen in iframe, because there are limitation with the JS actions in iframe environment. – ceckoslab Apr 17 '13 at 8:22
  • I don't think this is possible. but I'm no JS expert – Fabian Blechschmidt Apr 17 '13 at 9:52
  • 1
    Usually it's not possible ... as I know, PayPay sends headers, that limit us: X-FRAME-OPTIONS - stackoverflow.com/questions/9464173/embed-paypal-in-an-iframe ... also for reference: The X-Frame-Options response header - developer.mozilla.org/en-US/docs/HTTP/… – ceckoslab Apr 17 '13 at 11:19

This is not possible. As ceckoslab noted, iframe manipulation options are strenuously limited by PayPal.

The only potential option would be a standalone integration to BillMeLater, but no such API endpoint exists with that service; it must be accessed via PayPal's Web interface.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.