You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: