Jump to content

Sync365License

Retired Forum Member
  • Posts

    4
  • Joined

  • Last visited

About Sync365License

Sync365License's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hey Team, Hoping someone can help me out here. Trying to make a remote input payment gateway. It works correctly and displays the iframe when in the client portal and adding a new payment method, but on checkout, when selecting the payment gateway nothing loads and it does not try to use the remote payment gateway. The same problem seems to happen with the demo one. Is there something I am missing? How can I get this working so i can capture the CC details on checkout when there is no payment to take? I am guessing its maybe as whmcs has not created the customer yet as its the same page to take the details? Any assistance on how I can get this working would be awesome. thanks Or if there is a way to make the next page after submitting the details to be the payment page?
  2. Hey all, I am driving myself crazy trying to work out the correct sequence of events here and am not getting very clear from the documentation. I am trying to create a remote input gateway. My credit card processor has a javascript element we can insert and just provide the client id and an intent ID to. This will then provide the CC details field, do the processing and return a result so we can then store the token. I am a bit lost on how this should work. Should it work this way? 1. Gateway file in the _remoteinput section, this checks for an existing client and creates or gets the client id from the API 2. This has the php page which has the element in it and posts the intent and client id to it with a callback to a callback file. 3. on success, the callback has the instructions to save the card details and token into the WHMCS customer? Or should the create/get client ID phase be part of the php page that has the javascript element? No doco seems to relate to requiring info/client id's etc from the cc processor so I am just lost at which step this should be occurring at to send the required details through to the element for the credit card. Thank you
  3. Hey All, Really struggling to work out how I can execute the script for FreshSales suite. I want to create the contact on clientAdd, but cannot work it out. The info for it is here: How to set up Freshworks CRM Tracking Code? : Freshsales Suite From what I understand, the tracking code loads a jquery library, and the code to create the contact uses that to make the contact. I just cannot work out how to get it to work via the hook Any help appreciated. Here is what i have <?php if (!defined('WHMCS')) die('You cannot access this file directly.'); function create_fs_contact($vars) { var new_contact = { "First name": $vars['firstname'], //Replace with first name of the user "Last name": $vars['lastname'], //Replace with last name of the user "Email": $vars['email'], //Replace with email of the user "Alternate contact number": $vars['phonenumber'], //Replace with a custom field "company": { "Name": $vars['companyname'], //Replace with company name "Website": array_pop(explode('@', $vars['email'])) //Replace with website of company } }; var identifier = $vars['email']; fwcrm.identify(identifier, new_contact) } add_hook('ClientAdd', 1, 'create_fs_contact');
  4. Hey team, We have a problem with the standard module where it does not include the usage metrics that get invoiced to customers for the affiliate commissions. Which seems crazy because it should be doing it off what is getting invoiced to the customers. All our products are $0 and all billing is done via usage so this is a big issue for affiliate commission. Does anyone have any idea how we can solve this issue? or are we going to have to reinvent the wheel and do a whole module to replace affiliates? Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated