Skip to content
Eduardo Lira

MAGENTO

How to Fix PayPal Error - Callback URL is wrong type

Learn how to fix the PayPal error that says "Callback URL is wrong type" when configuring it in your Magento store. This solution involves disabling express checkout or installing an SSL certificate on your server.

The error that occurs: PayPal gateway has rejected request. Callback URL is wrong type; you must use the HTTPS (#11813: Callback URL is wrong type).

This error occurs in Magento when Paypal is configured to use Express Checkout and there is no SSL certificate on the server. As the error says, it expects a response URL with https://

Translating the error:

The PayPal Gateway rejected the request. Callback URL of incorrect type; You must use HTTPS (# 11813: Callback URL of incorrect type).

The most obvious solution is to disable express checkout in PayPal settings.

If you wish and if possible, install an SSL certificate on your server to use this functionality. PayPal expects SSL due to the transport settings enabled in the “Transfer Shipping Options” option.

You can disable this option to continue using express checkout. However, when finalizing the purchase, there will be a return to choose the shipping method. Which uncharacterizes it as fast.

These were the tips on this problem. If you have other solutions, leave your comment.

Thx!

Revisited in November 2026

In 2015, having SSL still cost money and effort, and turning off express checkout was a reasonable way out. Today the math is different:

  • Free certificates became common from 2016 on, with Let’s Encrypt, and most hosting providers install one in a few clicks.
  • Since 2018, Chrome marks any HTTP page as “Not secure”. A store without HTTPS loses customers before they reach PayPal.

So the solution I left as optional, installing the certificate, became the first one. It’s also worth remembering that this post was about Magento 1, which went out of support in June 2020, and that the PayPal integration has changed a lot since then. If the message shows up on a current version, check the documentation of the module you use.

Who writes this

Eduardo Lira

Software developer in Rio de Janeiro. I started this blog in 2012, in technical support at a hosting company, writing down the fixes for the problems that came up every day. Today I work at Sofis Tecnologia, on critical healthcare systems and SQL Server database migrations.

Found a mistake in this post?

A command that no longer works, a broken link, wrong information: tell me what you saw. The message goes only to the author and is not shown on the site.