The Fusebill Post Payment method call accepts:
These elements are mandatory when configured with the Fusebill Payment Gateway and should be captured by the registration page obtaining customer payment method information in order to improve Fusebill’s risk decision making process.
The Post payment method call must contain the public IP address of the client whom the API call is made on behalf of.
Use the following format when passing in the ClientIP element, where 184.108.40.206 is the public IP address of the client:
RiskToken field in the post payment method call.
https://static.wepay.com/min/js/risk.1.latest.js as the source.
When your webpage finishes loading, Risk.js waits 5 seconds and then generates a risk token. This delay ensures that the token generation process does not impact your page load performance. You can also choose to manually generate the token when you are ready.
Risk.js has two methods for generating and receiving the risk token:
Returns a UUID token that is associated with the client machine on which Risk.js is loaded. If called before the token has been generated it returns 0.
Immediately generates the risk token. If called after the risk token has been generated, it will have no effect. The best time to use this method is after your page has fully finished rendering so as not to impact page load performance. Note: this method does not return the risk token.
To get the most out of Risk.js, follow these recommended best practices:
- WePay risk tokens are only valid for 48 hours, so try to generate new ones when possible.
- When your webpage has fully finished rendering, call
WePay.risk.generate_risk_token()to ensure that the risk token is available when you call
WePay.risk.generate_risk_token()immediately after loading the script.
Updated 2 years ago