didier1 Posted April 7, 2017 Share Posted April 7, 2017 Hello, we originally setup our WHMCS invoice so client could follow a link on the WHMCS email reminder invoice that will redirect them on paypal website with the invoice amount $$ to pay. We are using this link on the invoice: https://www.paypal.com/cgi-bin/webscr?business=info@photo-expert.ca&cmd=_xclick¤cy_code=CAD&amount=$114.97CAD&item_name=HDR'>https://www.paypal.com/cgi-bin/webscr?business=info@photo-expert.ca&cmd=_xclick¤cy_code=CAD&amount=$114.97CAD&item_name=HDR That is allowing use to specify the $$ amount with the help of WHMCS bookmark in email template as follow: https://www.paypal.com/cgi-bin/webscr?business=info@photo-expert.ca&cmd=_xclick¤cy_code=CAD&amount={$invoice_total}&item_name=HDR The strategy behing this is that client does not have to log into their WHMCS client area to pay their invoice - ( we noticed that client would pay right away if they could follow a link and inout their cc information right away. Having them to login into their WHMCS client area THEN input their cc information is too long and most of client give up half way through the process. The Current Problem we are experiencing is since a few weeks, Paypal website does not accept the link anymore. Question: We are reaching in our WHMCS community to see if people have ideas on which angle to attack this problem thank you 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 7, 2017 Share Posted April 7, 2017 you should probably check this with Paypal, but I think it's expecting to have a numeric value for amount, rather than a string containing currency prefix and suffix... https://www.paypal.com/cgi-bin/webscr?business=info@photo-expert.ca&cmd=_xclick¤cy_code=CAD&amount=114.97item_name=HDR if this is the latest version of WHMCS (e.g 7.1+), then you should be able to change your link in the email template to... https://www.paypal.com/cgi-bin/webscr?business=info@photo-expert.ca&cmd=_xclick¤cy_code=CAD&amount={$invoice_total->toNumeric()}&item_name=HDR if it's an older version of WHMCS, then you might need to use two Smarty replaces to remove the currency prefix and suffix ($ and CAD) in the template. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.