Woocommerce REST API allow normal users make an order

I found our my solution by customize “woocommerce_rest_check_permissions”

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)