简体   繁体   English

WHMCS-如何获取到贝宝的付款链接

[英]WHMCS - How to get payment link to paypal

I implementing whole billing system with WHMCS in the background, and calling it via API. 我在后台用WHMCS实现了整个计费系统,并通过API对其进行了调用。 Now I'm stuck when client completes billing form and selects paypal as payment gateway i need to immediately take him to paypal page to complete purchase, but i didn't found any API calls to get paypal form. 现在,当客户填写帐单并选择贝宝作为支付网关时,我陷入了困境,我需要立即带他进入贝宝页面以完成购买,但是我没有找到任何API调用来获取贝宝表格。 Any direction or documentation will be appreciate. 任何方向或文件将不胜感激。

You can create your own API call by adding a file to the API folder within your WHMCS installation, and adding the api call name to the "permissions" field, in the existing entry of the "tblapi_roles" table; 您可以通过以下方式创建自己的API调用:将文件添加到WHMCS安装中的API文件夹中,并将api调用名称添加到“ tblapi_roles”表的现有条目中的“ permissions”字段中; in the database. 在数据库中。

In your custom api code, you can do whatever you want. 在您的自定义api代码中,您可以做任何您想做的事情。

I'm not sure about the specifics of a paypal payment, with the database... i guess it would be determined by which payment module (version) you were specifically using for PayPal payments. 我不确定使用数据库的贝宝付款的细节...我想这将取决于您专门用于贝宝付款的付款模块(版本)。 (i'll let you do the research on the rest ;-) ) (我会让您进行其余的研究;-))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM