AsiaPay¶
AsiaPay is an online payments provider established in Hong Kong and covering several Asian countries and payment methods.
Cấu hình trên bảng điều khiển Asiapay¶
Đăng nhập vào bảng điều khiển Asiapay theo tài khoản do Asiapay cung cấp.
Truy cập tiền tệ và :guilabel:`Các trường băm an toàn và lưu chúng cho sau.
. Sao chép các giá trị của- và bật tùy chọn :guilabel:Enter your Odoo database URL followed by
/payment/asiapay/webhook
in the Return Value Link (Datefeed) text field. For example:https://yourcompany.odoo.com/payment/asiapay/webhook
;Nhấp vào test để kiểm tra xem webhook có hoạt động chính xác không. Nhấp vào Cập nhật để hoàn thiện cấu hình.
Cấu hình trên Odoo¶
Navigate to the payment provider AsiaPay and change its state to Enabled.
- In the Credentials tab, choose the Brand of your Asiapay account. Then fill in the Merchant ID and Secure Hash Secret, and the Currency in the Configuration tab with the values you saved at the step Cấu hình trên bảng điều khiển Asiapay;By default, the payment provider AsiaPay is configured to verify the secret hash with the hash function
SHA1
. If a different function is set on your account, activate the developer mode and set the same value to the field Secure Hash Function in the Credentials tab. Cấu hình phần còn lại của các tùy chọn theo ý thích của bạn.