Jump to content

Paypal payment link


didier1

Recommended Posts

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&currency_code=CAD&amount=$114.97CAD&item_name=HDR'>https://www.paypal.com/cgi-bin/webscr?business=info@photo-expert.ca&cmd=_xclick&currency_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&currency_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

Link to comment
Share on other sites

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...

 

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&currency_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.

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