WHMCS / developer-docs

Developer documentation portal content
72 stars 114 forks source link

RouteProvider \WHMCS\Route\ProviderTrait #284

Open Dectom opened 1 year ago

Dectom commented 1 year ago

I can't find any documentation on this or on the \WHMCS\Route\Contracts\DeferredProviderInterface class that this is implementing.

It's part of a module that works perfectly fine but in trying to replicate the functionality I can't, It creates routes that can be passed such as rp=/route/here which is required functionality for a callback from a gateway module to validate a subscription or verify a payment.

Any ideas on how to initialize this or get these routes to work and setup custom ones, I've searched around and can't find much documentation on this.

andretunes commented 1 year ago

Hello,

Did you find some solution, I'm also willing to do this. Can you show how you did that rp=/route?

Thanks, see you!