- At first, Navigate to WooCommerce > Shipping > Pathao.
- Then you may see pathao setup form. Client ID, Client Secret, Client Email/Username, Client Password are required to generate token.
- Collect Client ID, Client Secret, Client Email/Username, Client Password from your Pathao Merchant Panel and Generate Token.
- After successfully generate token, Reload the settings page & you may see store lists in Store dropdown.
- Select your preferred store & Save.
- You need to setup Webhook for WooCommerce order status changed based on Pathao order.
- First go to pathao webhook integration page.
- Example Callback URL :
https://yoursite.com/wp-json/api/v1/pathao-status-endpoint
- Just replace
yoursite.com
to your wordpress domain.