Jump to content

invoice payment link


sokalsondha

Recommended Posts

Hello Community

Its came to my attention that sometimes clients not able to login to whcms with their username and password as like us we dont use whmcs for hosting business

so i was thinking how can a client will get a invoice payment link in the email so they click that link from the email and it will take them to direct paypal

once they make paid by paypal their invoice will be paid

they dont need to login to the whmcs at all

i found a post in this community and brian said to put {$invoice_payment_link}  in the email template

i put this. and in the email its shows a paypal BUTTON.

i can click on that paypal button if the email goes to gmail. but if the email goes to cPanel email address i cant access to the paypal button

so my question is there any possible we can get a link instead of PAYPAL button

so clients can copy and paste the link even in the browser

 

thanks in advance

Link to comment
Share on other sites

11 hours ago, sokalsondha said:

so my question is there any possible we can get a link instead of PAYPAL button

the problem is it needs to be a form (as it's passing about 30 hidden form fields to PayPal)... perhaps technically it doesn't, but rebuilding it into a single link in Smarty would be a nightmare, so you'd be left with writing a hook to replace the Smarty variable value... but that's a little like reinventing the wheel as you would need to recreate the values from the PayPal gateway module.

11 hours ago, sokalsondha said:

i found a post in this community and brian said to put {$invoice_payment_link}  in the email template

i put this. and in the email its shows a paypal BUTTON.

it will do as that's what the PayPal gateway does by default... if you wanted to, you could change the button image...

{$invoice_payment_link|replace:'https://www.paypal.com/en_US/i/btn/x-click-but03.gif':'https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-small.png'}

perhaps if you had to, you could fake an image to look like a text link...

12 hours ago, sokalsondha said:

i can click on that paypal button if the email goes to gmail. but if the email goes to cPanel email address i cant access to the paypal button

that sounds unusual, because by definition, most of these invoice links will likely be sent to cPanel email addresses, and if they didn't work, this place would be full of people complaining about that... but they aren't.

12 hours ago, sokalsondha said:

so clients can copy and paste the link even in the browser

it would be an EXTRAORDINARY long link...

 

Link to comment
Share on other sites

On 5/13/2018 at 21:35, sokalsondha said:

but now i can see all emails like password reset order email invoice email all going to my clients from my gmail.

if you use Gmail SMTP, then it rewrites the From address to use your gmail email address - quicker solution might be to use another SMTP service.

Link to comment
Share on other sites

On 5/15/2018 at 11:24 AM, brian! said:

if you use Gmail SMTP, then it rewrites the From address to use your gmail email address - quicker solution might be to use another SMTP service.

okay.. but our gmail address is widely used. is there possible i can make a hook brian? i really need to use gmail for all my product/service details email

but want to keep domain email for other emails.

is there any possible hook for this thing sir?

Link to comment
Share on other sites

5 hours ago, sokalsondha said:

is there any possible hook for this thing sir?

I know that you've already posted in (slightly hijacked!) the thread below in Service Offers about paying a developer to do this for you, and two developers have already replied... and I doubt they would waste their time if it wasn't possible! :)

 

Link to comment
Share on other sites

8 hours ago, brian! said:

I know that you've already posted in (slightly hijacked!) the thread below in Service Offers about paying a developer to do this for you, and two developers have already replied... and I doubt they would waste their time if it wasn't possible! :)

 

thanks brian. but that was different module

now the topics is different boss.

they quote me for something which module is already in whmcs.. thats call EMAIL REGISTRAR

i found the module after i post it.

but now i need help for email problem

can you please advice me what should i do?

Link to comment
Share on other sites

20 hours ago, sokalsondha said:

they quote me for something which module is already in whmcs..

that's what happens when you hijack an existing thread and ask an unrelated question!

https://whmcs.community/topic/244393-customer-offline-domain-module/?do=findComment&comment=1296357

20 hours ago, sokalsondha said:

can you please advice me what should i do?

report your own thread below and ask the moderators to move it to Service Offers & Requests... then any interested developers will know what you're asking about and reply accordingly.

https://whmcs.community/topic/288361-email-issue-smtp/

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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