Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFUND FUNCTION - EMAIL SENT TO VENDOR - Dokan Send Refund Request to Vendor > Url link not working, wrong slug #2114

Closed
Sophie-2e opened this issue Dec 30, 2023 · 2 comments

Comments

@Sophie-2e
Copy link

Bug Description

BEFORE UPDATE: When customers request a refund: an email is sent to vendor (Dokan Send Refund Request to Vendor) but the url link is not working, it is not the right url: https://ibb.co/nzFTx8s
https://ibb.co/P6DQXHt
The link should be: seller-dashboard/orders/?order_id=25199&_wpnonce=7ddeb07219
But it is: seller-dashboard/orders/?order_id=25199&_wpnonce=4db4809304

AFTER UPDATE:
Now the link looks like this: seller-dashboard/orders/?order_status=wc-refunded but it is not working either as we cannot select the order by status in the Vendor Dashboard > Orders tab so ?order_status=wc-refunded is not a valid slug

The link should redirect the seller to the seller-dashboard/seller-dashboard/returns-refunds/?request=11, when refund is process by the Refunds tab but if it is the vendor that process the refund manually via the order details in his seller dashboard, then the link should drive the seller to the order details in his dashboard such as seller-dashboard/orders/?order_id=31631&_wpnonce=4140203bd9

Step To Reproduce

Refund an order via Order details and via Refunds tabs in Vendor dahsbaord and check email sent to vendor.

Expected Behaviour

The link should redirect the seller to the seller-dashboard/seller-dashboard/returns-refunds/?request=11, when refund is process by the Refunds tab but if it is the vendor that process the refund manually via the order details in his seller dashboard, then the link should drive the seller to the order details in his dashboard such as seller-dashboard/orders/?order_id=31631&_wpnonce=4140203bd9

Actual Behaviour

Now the link looks like this: seller-dashboard/orders/?order_status=wc-refunded but it is not working either as we cannot select the order by status in the Vendor Dashboard > Orders tab so ?order_status=wc-refunded is not a valid slug

Additional Information

No response

Environment (please complete the following information)

1. Dokan Version: [3.9.5]
2. Dokan Pro Version: [3.9.6]
3. WooCommerce Version: [8.4.0]
4. Browser [all]
5. Current Theme: [Blocksy / Store Front]
@Sophie-2e Sophie-2e changed the title Refund Functions - Refund Order Emails Template sent to Vendor : Url link not working REFUND FUNCTION - EMAIL SENT TO VENDOR - Refund Order Emails Template sent to Vendor : Url link not working May 12, 2024
@Sophie-2e
Copy link
Author

Sophie-2e commented May 12, 2024

Hello @mrabbani and @MdAsifHossainNadim, this is the issue related to the email sent to the vendor that explained the error about the url link 😉 While this one is about the email sent to customer for the store credit refund process: #2257

And issue still there with Dokan 3.11.0

cc @imtiaz-pranto

@Sophie-2e Sophie-2e changed the title REFUND FUNCTION - EMAIL SENT TO VENDOR - Refund Order Emails Template sent to Vendor : Url link not working REFUND FUNCTION - EMAIL SENT TO VENDOR - Dokan Send Refund Request to Vendor : Url link not working May 12, 2024
@Sophie-2e Sophie-2e changed the title REFUND FUNCTION - EMAIL SENT TO VENDOR - Dokan Send Refund Request to Vendor : Url link not working REFUND FUNCTION - EMAIL SENT TO VENDOR - Dokan Send Refund Request to Vendor > Url link not working, wrong slug May 12, 2024
@Sophie-2e
Copy link
Author

See it has been resolved 🙌 so all good now, thanks guys, I will close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants