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

Issue regrading arabic products #9

Open
khalfanHCT opened this issue Aug 11, 2021 · 0 comments
Open

Issue regrading arabic products #9

khalfanHCT opened this issue Aug 11, 2021 · 0 comments

Comments

@khalfanHCT
Copy link

Hey Mahmood, I have found out two errors, one that is Thawani API doesn't accept product names with dashes for example (كريم-شعر) it will send back error 4000, but it is okay we can remove the dashes and I guess the solution could be that you replace every dash in the string to normal space.
I tried to add str_replace but it didn't work out for me!

another issue is I have lowered the accepted strings to 25 chars only and that work out for most products, but what I didn't understand is why this product name exactly doesn't accept (شامبو وبلسم من كانتو بنكهة الشيا) that's so wired hahaha.

Thank you again!

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

No branches or pull requests

1 participant