Hello there,
I'm developing a client dashboard that'll depend on WHMCS API. in the normal situation when the user selects products to buy and check out his cart, he will be prompted to choose a payment method and then will be redirected to the payment gateway page to actually pay the money. I'm using the API so all I managed to do now is to AddOrder and the response I get is :
{
"result": "success",
"orderid": 4,
"productids": "4",
"addonids": "",
"domainids": "",
"invoiceid": 4
}
this did create an order but it didn't do anything with the payment. so my question is:
how recreate the "redirection" while still using the API ? is there a way to make this API call return the link that the user needs to be redirected to?
I'm using WorldPay payment gateway in test mode.