Solución de problemas de PayPal

En este artículo damos respuesta a las preguntas más frecuentes que tienen los clientes al integrarse con PayPal:

Which PayPal method is this member using?

  • Legacy PayPal members were set up before your site switched to PayPal Checkout. Their payments arrive as IPNs and appear under Registros > Registro de IPN de PayPal.
  • PayPal Checkout members bought after PayPal Checkout was activated. Their payments arrive as webhooks. They do not appear in the PayPal IPN Log.

Payment Settings > Migration Status lists every active legacy subscriber by name, under Legacy Subscribers. If the member is not listed there, they are on PayPal Checkout or not on PayPal.

My checkout page shows two PayPal buttons

After the upgrade, legacy PayPal and PayPal Checkout are both active, and the default checkout button SmartTag shows one button for each. They use the same image. The first is legacy PayPal and the second is PayPal Checkout.

To show only PayPal Checkout to new buyers, replace the default button SmartTag with:

<a href="/es/[MM_Form_Button type='submit' paymentMethod='paypal_checkout']/">Pagar con PayPal</a>

The webhook URL shows “Error” when I open it in a browser

This is normal for PayPal Checkout. The legacy IPN URL (x.php?service=paypal) shows “Invalid IPN Notification” when opened in a browser. The PayPal Checkout webhook URL (x.php?service=paypal_checkout) shows only the word Error and returns HTTP status 500. MemberMouse does this on purpose for any request it cannot process, so that PayPal retries failed webhooks.

So opening the PayPal Checkout webhook URL in a browser does not tell you whether webhooks are working. To check delivery, use the webhook Event Logs in your PayPal Developer Dashboard (see below).

PayPal Checkout payments are not activating members, or renewals are not recorded

PayPal Checkout relies on webhooks for renewals, refunds, failed payments and cancellations. One-time payments and the first payment of a subscription are also confirmed when the buyer returns to your site.

Check, in this order:

  1. The webhook is registered for the right address. In your PayPal Developer Dashboard, open your REST app and look under Webhooks. The URL must be your live https:// address followed by /wp-content/plugins/membermouse/x.php?service=paypal_checkout. If you moved the site to a new domain or switched from http to https, register the new address.
  2. The Webhook ID in MemberMouse matches. En Payment Settings > PayPal Checkout, the Webhook ID (or Sandbox Webhook ID in test mode) must be the ID of that webhook in the same app. MemberMouse will not activate PayPal Checkout without one.
  3. Live and Sandbox are not mixed. Live credentials only work with Live webhooks, and Sandbox with Sandbox. Enable Test Mode (Sandbox) must match the credentials you entered.
  4. PayPal could deliver them. In the Developer Dashboard, open Event Logs and look at recent webhook events. A failed delivery usually means a firewall, security plugin or host is blocking PayPal’s requests to x.php, or the site is not reachable over https.

En Event Logs > Webhook Events, choose your app under Aplicación, set the dates and click Buscar en.

Webhook Events

A Failure o Pendiente status does not always mean your site missed the event. It can happen when the app still has a webhook for an old domain, a staging site or a site that no longer exists, so deliveries to that address fail and PayPal keeps retrying. Delete webhooks you no longer use. (In our testing, events that both test sites received and processed still showed Failure or Pending, most likely because the same app also held a webhook for a site that was offline.)

The Upgrade Wizard’s webhook step shows an http:// address

The wizard registers the address shown on step 5. It is built from your Dirección de WordPress (URL) en Ajustes > General. If that starts with http://, or uses a staging domain, PayPal will not deliver webhooks there, and the wizard cannot go live. Correct the site address first, then return to step 5.

“Migrated to PayPal Checkout” shows a percentage even though nobody has migrated

The percentage on Payment Settings > Migration Status is active PayPal Checkout subscriptions divided by all active PayPal subscriptions (legacy plus Checkout). New buyers on PayPal Checkout count toward it. It does not measure how many legacy members have switched.

¿Por qué hay cuentas en estado Pendiente de activación?

When a customer clicks the button on the checkout page to pay with PayPal they are immediately redirected to PayPal’s website to make a payment for what they’re purchasing. At this point, MemberMouse has created an account for this customer and set the status of the account to Pendiente de activación (cuentas en Pendiente de activación status are indicated by a ‘blue clock’ icon when viewing the Gestionar miembros pantalla). Mientras la cuenta está en Pendiente de activación el cliente no podrá iniciar sesión ni acceder a contenidos protegidos.

La cuenta permanecerá en Pendiente de activación hasta que el cliente haya completado con éxito la compra en PayPal. Una vez que MemberMouse haya recibido la confirmación del pago, la cuenta se pondrá en Activo estado.

Así que una cuenta en Pendiente de activación significa simplemente que el cliente hizo clic para pagar a través de PayPal, pero nunca completó la compra. Si el cliente realizó un pago y su cuenta no se ha activado, consulte la sección Las cuentas no se activan de este artículo para más pasos de solución de problemas.

El botón de PayPal no se muestra en la página de pago.

Se trata de un problema de estilo CSS y puede resolverse fácilmente de la siguiente manera:

 Utilice el botón PayPal de MemberMouse

The default MemberMouse Checkout page uses the following SmartTag™ to output payment buttons:

[MM_Form_Button type='all' label='Enviar pedido' color='naranja']

When the Checkout page is rendered, this SmartTag™ outputs the PayPal button as follows:

<a href="javascript:mmjs.checkoutx('PAYPAL', true);" class="mm-paypalCheckoutBtn"></a>

Notice that the CSS class is set to ‘mm-paypalCheckoutBtn’.

Para que el botón de PayPal aparezca en la pantalla, el CSS de MemberMouse debe cargarse en la página. Para ello, debe asegurarse de que el archivo Checkout & Redeem Gift está marcada en su Configuración CSS de la página principal. Lea este artículo para aprender a cambiar la configuración CSS de la página principal.

 Utilizar un botón personalizado de PayPal

If you want to customize how the PayPal button should look on your Checkout page, you’ll need to use the following on your Checkout page:

<a href="/es/[MM_Form_Button type='submit' paymentMethod='paypal']/">Pagar con PayPal</a>

Now you can style the button any way that you’d like and even use the Estilos de botón MemberMouse.

Once you’ve added that to your Checkout page, you can safely remove the default SmartTag™ for outputting payment buttons:

[MM_Form_Button type='all' label='Enviar pedido' color='naranja']

Las cuentas no se activan incluso después de haber efectuado un pago.

In order for anything to happen in MemberMouse as a result of something that happens on PayPal (i.e. a payment), PayPal instant push notifications (IPNs) are used. So if there’s a problem with MemberMouse being updated as a result of something happening on PayPal this means there are problems with the IPNs.

Esto suele ser el resultado de una de las siguientes causas:

 IPN configurado incorrectamente

Lo primero que debe comprobar es que tiene la IPN configurada correctamente en PayPal. Estos son los pasos para Configuración de la IPN de PayPal.

 NIP bloqueados

After you’ve confirmed that your IPN is configured correctly in PayPal, perform the following steps to find out where the problem is:

  1. En su Opciones de pago > Formas de pago en MemberMouse, asegúrese de que PayPal es no en modo de prueba.

  2. Crear un producto de prueba de PayPal en MemberMouse. You can make it a one-time purchase product for $.05 (you’ll be purchasing this product so you don’t want it to be too expensive).

  3. Copie el enlace de compra estático para el nuevo producto de prueba de PayPal.

  4. Go to a browser where you’re not logged into your WordPress/MemberMouse site as an administrator and paste in the purchase link.

  5. Haga clic en el botón de PayPal para pagar con PayPal y completar la compra en PayPal.

  6. Inicie sesión en PayPal y vaya a la sección Página de historial de IPN. You should see the IPN relating to the purchase you just made at the top of the list with a status of ‘Sent’.
    • If the IPN doesn’t show up in the list then compruebe la configuración de su IPN y asegúrese específicamente de que tiene activadas las IPN.

    • If the IPN shows up but the status is ‘Failed’ then you’ll want to reach out to your hosting provider to understand why IPNs from PayPal are being blocked.

  7. If the IPN in the PayPal IPN History log had a status of ‘Sent’, log into your WordPress/MemberMouse site and go to Registros > Registro de IPN de PayPal. En la parte superior de la lista (o cerca de ella) debería ver la IPN registrada de su transacción de prueba.
    • If the IPN doesn’t show up in the list then you likely have caching affecting your site. Just disabling a caching plugin won’t necessarily disable caching. Your hosting provider could also use server side caching. Lea este artículo para aprender a configurar el almacenamiento en caché con MemberMouse.

    • En Configuración del almacenamiento en caché en el servidorinstale una nueva copia del plugin MemberMouse, que puede ser descargar aquíy, a continuación, ejecute de nuevo una transacción de prueba de PayPal para ver si se resuelve el problema.

    • Si el IPN aparece pero la cuenta asociada sigue siendo Pendiente de activación in MemberMouse then you’ll want to reach out to the MemberMouse customer success team for further assistance. When you do this, please provide a screencast video that demonstrates you going through the 7 steps listed here and WordPress admin credentials.
¿Le ha resultado útil este artículo?

Artículos relacionados