PayPal plugin - Forum | JoomShaper
Staff replied EasyStore

PayPal plugin

Asked by Andrea 9 months ago Last activity 9 months ago

Good morning!
On the Allura template configured with Easy Store, I selected PayPal as a payment method.
After creating a relevant account at developer.paypal.com, I entered the client ID and sandbox secret key in the PayPal plugin. I then generated the sandbox webhook ID and entered it into the plugin, verifying its operation with the webhook simulator in the testing tools section of the PayPal website. I followed the same procedure for the live credentials.
However, a problem has arisen. When simulating an order, everything goes well until the payment stage. The order is issued and emails are sent to both the seller and the customer. Although the PayPal interface shows the order as paid, the order remains unpaid and no money is transferred between the buyer's account (I used a sandbox account generated by PayPal's testing tools as a buyer) and the seller's account.
I must have missed something. Could you give me a suggestion?
Thank you.
Andrew

Joomla 5.4.1 – PHP 8.3.25 – Allura 1.0.5 – Easy Store 1.7.2

12 replies

Atick Eashrak Shuvo Staff

Hello Andrew,

We apologize for the inconvenience and for the delayed response due to the weekend.

To help us investigate this issue further, could you please share a screenshot of your PayPal webhook settings (including the configured events and webhook ID) from your PayPal Developer dashboard? This will allow us to verify that the webhook is correctly configured and aligned with the Easy Store PayPal plugin requirements.

Thank you for your cooperation. We appreciate your patience and look forward to assisting you further.

Kind regards

Atick Eashrak Shuvo Staff

Also please recheck the joomla credentials you have provided

Andrea Asked this

Hi Atick,
I'm sorry.
The credentials are now working normally.
The bottom link contains the webhook setup in the Sandbox version.
Everything seems to be working in the Live version, although I haven't seen anything appear in terms of payment instructions (You will be redirected to the secure PayPal payment portal to complete your purchase. Once your payment has been processed, you will be redirected back to this website).
Thank you for your assistance.
Andrew

Atick Eashrak Shuvo Staff

Please remove the webhook and let me know

Andrea Asked this

I'm sorry.
Where? From PayPal or Easy Store?

Atick Eashrak Shuvo Staff

From paypal

Andrea Asked this
9 months ago · edited

The PayPal payment option is no longer active in the Easy Store checkout.

Atick Eashrak Shuvo Staff

I apologize for the inconvenience caused. Could you please check now and let me know if the issue is resolved on your end?

Looking forward to your response.

Best regards

Andrea Asked this
9 months ago · edited

The sequence is now working and the sendbox account is regularly credited with the amount purchased. However, there is still a problem. The seller receives two emails for the same order. The first is sent as soon as the order is confirmed (before payment) and the second is sent once payment has been made. However, in the first email, the order appears as unpaid. This could cause confusion. I don't understand if the webhook is working...

Atick Eashrak Shuvo Staff

Thank you for the update and for outlining the issue so clearly.

This behavior is expected and indicates that the webhook is functioning correctly. When a customer is redirected to the payment gateway, the system first creates the order with an unpaid (pending) status. At this stage, the initial order confirmation email is triggered, which is why the seller receives an email showing the order as unpaid.

Once the payment is successfully completed, the payment gateway notifies the system via the webhook. The order status is then updated to paid, and a second email is sent reflecting the successful payment.

If receiving two emails causes confusion, you may disable the order creation (unpaid/pending) email notification and keep only the payment confirmation (paid order) email enabled. This ensures that the seller is notified only after the payment has been successfully completed.

Log in to reply.