Order Status Never Set To "paid" Using PayPal Plugin - Question | JoomShaper

Order Status Never Set To "paid" Using PayPal Plugin

SC

Stuart Clark

EasyStore 2 weeks ago

@Toufiq - as requested here's a new thread to investigate the PayPal issue

0
15 Answers
SC
Stuart Clark
Accepted Answer
2 weeks ago #166523

Adding this for clarity:

In EasyStore, orders made with PayPal remain on "payment pending" status indefinitely.

PayPal have processed the transaction (and have emailed merchant to confirm etc.) but EasyStore is not picking up the payment as having been completed.

As I've already said elsewhere - I have an order which was placed on 28th August and is not yet showing as paid in EasyStore.

Paypal have processed the payment. They have debited the purchaser and credited the seller. The funds have been cleared in PayPal (this happens in a matter of seconds), but EasyStore has not updated the payment status.

On every other ecommerce platform I have used, the payment status is updated by Paypal as part of the return URL - I suspect that is not being picked up / processed correctly by EasyStore.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #166544

Just purchased this item using my PayPal account. Please check & let me know. Now payment is sandbox mode.

0
SC
Stuart Clark
Accepted Answer
2 weeks ago #166560

Your order is marked as paid, but I created another order, using a GUEST PayPal account (so can't be an old account) and that is stuck on Pending.

I also can see in PayPal where my LIVE transaction was successful in PayPal but where there's nothing reported back to EasyStore.

  • Now, can I ask a question - why can we not have a return URL for EasyStore that we can configure in PayPal? That way we can automatically return customers to EasyStore; AND have IPN messages pass from PayPal to EasyStore? (see screenshot)

https://prnt.sc/YpK4OVgK2IMa

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #166561

I have investigated the pending payment issue and found that it primarily affects older PayPal accounts. Recently i have created a account & this account works fine without any problem. I think PayPal can explain more details about this issue. Besides, redirect URL settings function is not our end. Thanks

-1
SC
Stuart Clark
Accepted Answer
2 weeks ago #166565

@Toufiq - I'm sorry if I'm misunderstanding you, but you can not say this issue is resolved by stating that a NEW PayPal account must be used! You as the developer of EasyStore need to ensure your PayPal payment plugin is compatible with ALL PayPal accounts, including GUEST PayPal accounts, which also don't currently work!

It is unreasonable to say to customers "sorry - you need to create a new PayPal account before being able to buy anything on our site"!

The PayPal Redirect URL IS something you can control. I would imagine it should be something similar to the Webhook URL configured in Stripe for EasyStore

    • i.e. for PayPal it might be: /index.php?option=com_easystore&task=payment.onPaymentNotify&type=paypal

IF that is set and available in EasyStore, PayPal is able to send IPN messages back to EasyStore.

THIS ISSUE IS NOT FIXED

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #166568

Auto return settings here.

Log In to Your PayPal Account:

Go to PayPal and log in to your business account.

Access Account Settings

Click on the gear icon at the top right corner to go to Account Settings.

Navigate to Website Payments

On the left side, click on Website payments.

Update Website Preferences

Scroll down to Website Preferences under Website Payment Settings and click Update.

Enable Auto Return

Find the Auto Return option and set it to On. This feature will automatically redirect users to a specific URL after a payment is completed.

Enter the Return URL

Click Save at the bottom of the page to apply the changes.

https://prnt.sc/JufCMCP4yqiG

Can you give me guest account via hidden content?

0
SC
Stuart Clark
Accepted Answer
2 weeks ago #166570

Yes - I know where you set the URL - I'm asking what the URL (of the EasyStore component) should be??

Do you want guest account details for my LIVE PayPal account?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #166571

You should set your main website URL.

No, I want sandbox account.

0
SC
Stuart Clark
Accepted Answer
2 weeks ago #166574

The return URL on it's own does not fix this.

I really shouldn't need to provide you an user account in MY PayPal instance - even in my Sandbox environment - this is something you should test on YOUR systems, without this level of access, and the significant security risks involved, being required from your customers!

It feels like you are almost "playing around" on live customer sites with customer PRIVATE DATA in order to figure out issues in EasyStore.

That said, look below:

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 weeks ago #166631

Developer team is checking this issue. Please allow us time. Thanks

0
SC
Stuart Clark
Accepted Answer
1 week ago #166822

Is there any udpate on this?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 week ago #166833

Please check your live site.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 week ago #166832

Solved our end. Just need to final check.

0
SC
Stuart Clark
Accepted Answer
1 week ago #166848

@Toufiq, this seems to be working now. Many thanks.

There is a slight error in the order acknowledgement email sent to admins, but I think to resolve that it is easier to just remove the "Payment status" line rather than send 2 admin emails.

Can I please request again, that in the future any issues found are fully investigated first, rather than initially suspecting the user (customer) isn't using EasyStore correctly?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 week ago #166850

If you share a full scenario via screencast then i will share your scenario to our developer team. Thanks

1