Jump to content

Danny Turner

Member
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Danny Turner

  1. thank you for the response - unfortunately I would not be able to identify any anomalies - beyond my skill level - I am thinking of wiping the install and starting again using a different method to do the data transfer. Rather than use import assist I will use the method shown here.
  2. I have used ImportAssist to move install to a new domain. All of the products show in the product list - but I can't edit them, details are there but the save changes button is inactive , and they don't show on the storefront - shows a message Product group does not contain any visible products. Any help will be appreciated
  3. thanks for your help.. and I guess that requires another edit... I would think that this should be part of the original code ... and I guess this needs to be redone after every update?
  4. "how are you testing this? I assume you're either in the admin area downloading the PDFs (preferred option) again, or in the client area.. ?? " ahhh spot on - in admin area >unpaid invoice > view as client.- two options at bottom of invoice - print and download - I have been selecting print ... and the bank details disappear - so assumed the script wasn't working When downloaded the pdf invoice do carry the bank details , thanks as that's the most important thing.
  5. scrren capure of file - I get 403 message when I try to post code
  6. no changes on the pdf - even after changing code my invoice pdf.tpl now has had the code added as such: after line 73 $pdf->Ln(10); use WHMCS\Database\Capsule; $banktransfer = getGatewayVariables('banktransfer'); $paymenthtml = '<table width="100%" bgcolor="#ccc" cellspacing="1" cellpadding="2" border="0"> <tr height="30" !bgcolor="#efefef" !style="font-weight:bold;text-align:center;"> <td width="33%" bgcolor="#efefef" style="text-align:center;"><strong>Bank Transfer</strong></td> <td width="67%" bgcolor="#ffffff" style="text-align:center;">'.nl2br($banktransfer['instructions']).'</td> </tr> </table>'; $pdf->writeHTML($paymenthtml, true, false, false, false, ''); $startpage = $pdf->GetPage();
  7. I updated to ver 8 added code as per above still no joy my invoice pdf.tpl has had the code added as such: after line 73 $pdf->Ln(10); use WHMCS\Database\Capsule; $banktransfer = Capsule::table('tblpaymentgateways')->where('gateway','banktransfer')->where('setting','instructions')->value('value'); $paymenthtml = '<table width="100%" bgcolor="#ccc" cellspacing="1" cellpadding="2" border="0"> <tr height="30" !bgcolor="#efefef" !style="font-weight:bold;text-align:center;"> <td width="33%" bgcolor="#efefef" style="text-align:center;"><strong>Bank Transfer</strong></td> <td width="67%" bgcolor="#ffffff" style="text-align:center;">'.nl2br($banktransfer).'</td> </tr> </table>'; $pdf->writeHTML($paymenthtml, true, false, false, false, ''); $startpage = $pdf->GetPage();
  8. Unfortunately no. I am using ver7.1 I inserted code below in invoice pdf.tpl on line 73 use WHMCS\Database\Capsule; $banktransfer = Capsule::table('tblpaymentgateways')->where('gateway','banktransfer')->where('setting','instructions')->value('value'); this made no changes to the saved or printed pdf
  9. I received the following from Paypal last month Perhaps it may help if others have IPN issues As a reminder, communicated via email in the first week of December 2020, PayPal is expanding the Instant Payments Notification (IPN) infrastructure used to notify sellers about events related to the status of PayPal transactions. This change has added seven new IP addresses from which IPNs are being sent since 18 January 2021. Below are all of the IP addresses that are being used for IPN. (removed) Call to action If you are implementing any Access Control List (ACL) or filters on IP addresses for the IPNs received from PayPal, we request that you add all of the aforementioned IP addresses before 3 May 2021. Doing so will help avoid missing IPNs from PayPal. If you have any further questions about this migration activity, please feel free to contact Merchant Technical Support (www.paypal-techsupport.com). Thank you, PayPal
  10. Thanks for the response. I'm sorry but I still don't understand exactly what I should do ie in what file (and where in the file) do I add the code $pdf->Ln(5); $tblhtml = '<table width="100%" cellspacing="1" cellpadding="2" border="0"> <tr height="30" style="font-weight:bold;"> <td align="center">Click <a href="https://www.google.com">here</a> to go to Google</td> </tr> </table>'; $pdf->writeHTML($tblhtml, true, false, false, false, '');
  11. I have bank transfer as payment method. When viewing invoice (as customer) with bank transfer as method the bank details show at the top under due date. When the invoice is printed or saved as pdf the bank details disappear. I have searched on this community and found a thread dealing with this but could not understand the solution. Any help will be appreciated.
×
×
  • 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