So close, yet so far and it's just off 3am, so please, a little help... Why don't my paypal buttons show up? I've checked the source generated and can see the link <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> I've followed the src link and can see the image but it's just not rendering and the payment option isn't rendering, what am I missing here? I'm sure it must be so simple. TIA <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>ISPConfig</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="../templates/payments_pay.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="content"> <div id="logo"><img src="../lib/logo/tdplogo1.jpg" /></div> <div id="invoicetitle">Invoice payment</div> <div id="address"> <div id="clientaddress"> <b>Invoice recipient</b><br /> <hr /> <br /> <br /> <br /> <br /> NZ<br /> </div> <div id="companyaddress"> <b>Payee</b><br /> <hr /> Think Design Print Limited<br /> 5 Cargill Place, Richmond<br /> 8013 Christchurch<br /> Canterbury<br /> NZ<br /> </div> <div style="clear:all;"> </div> </div> <div style="height:100px;"> </div> <div id="invoicedetails"> <b>Invoice no.:</b> I0004<br /> <b>Invoice date:</b> 2020-05-08<br /> <h2>Total invoice amount: 11.50 NZD</h2> </div> <div id="paymentprocedure">Please choose the payment method by clicking on one of the button(s) below. You will get redirected to to the payment provider automatically.<hr /></div> <div id="providers"> <div id="paypal"> <b>Pay with paypal</b> <form method="post" name="paypal_form" action="https://www.paypal.com/cgi-bin/webscr"> <!-- Shopping cart content begin --></p> <input type="hidden" name="item_name_1" value="Payee: Think Design Print Limited, Invoice no.:I0004, Invoice date: 2020-05-08"> <input type="hidden" name="amount_1" value="11.5"> <input type="hidden" name="quantity_1" value="1"> <!-- Shopping cart content end --></p> <input type="hidden" name="upload" value="1"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="custom" value="I0004"> <input type="hidden" name="currency_code" value="NZD"> <input type="hidden" name="tax" value="0.00"> <input type="hidden" name="notify_url" value="https://control.monkeydoo.nz/ipnproxy.php"> <input type="hidden" name="return" value="https://control.monkeydoo.nz:8080/billing/payments/success.php"> <input type="hidden" name="cancel_return" value="https://control.monkeydoo.nz:8080/billing/payments/cancel.php"> <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> </form> </div> </div> </div> </body> </html>
Your web browser prevents the button from being rendered because of the different port, so its not a failure in the code itself, the URL's are fine. Basically, you have 2 options: a) Download the button and store it locally and then use this relative URL in the page. b) Run the ISPConfig UI as namebased vhost on port 443 instead of port 8080.
That would kill two birds with one stone and be my preferred option. Can you point me to instructions to do that? Looks like all I should need to do is change the vhost file in /var/www/ispconfig from port 8080 to 443 but is it more complex?
Also, can you point me to instructions to make a recurring bill for a period other than monthly. I would like to bill some things every week on a specific day and others annually. (oh, and before anyone posts "buy TFM, RTFM", I did buy the manual and then promptly lost the PDF when I changed machines... I know... I'm an idiot )
Do you use Apache or Nginx? 1 month is the shortest period that is implemented in the code, you would have to change the code to implement shorter intervals. Send me an email to info at ispconfig dot org and I'll send you a new copy.
Edit the file /etc/apache2/sites-available/ispconfig.vhos, replace 8080 with 443 in all places where it occurs. then add a servername inside the virtualhost in that file like this: ServerName sub.domain.tld and then restart apache. You should then be able to reach the ISPConfig GUI under the subdomain sub.domain.tld
Ok that doesn't work because I've also got the rspamd upgrade in there too. https://control.monkeydoo.nz/rspamd/#status So I already have a control.monkeydoo.nz.vhost file so I don't get the control panel, I get directed to a hosting space. I tried just moving that file out but then the service wouldn't restart. Have you seen this before, is there a best practice or do I need to just read the logs and nut it out? D
The ispconfig domain does not has to match the server hostname, you can name it ispconfig.yourdomain.tld or whatever name you want.
Ok but I'm quite happy to have 'control.monkeydoo.nz' as the domain. I'm just unsure how to get it to point at the control panel once I change the 8080 to 443. also if I make ispconfig.monkeydoo.nz then I'd also need to add that as a DNS entry as well, right?
lol... I'm having fun having a go at this... I figured out that I've got the 'sites' set up to point control.monkeydoo.nz to /var/www/client0/web2/web so I had a go and just using ln -s to link the files from /var/www/ispconfig but that failed with rights issues. so I tried to change the rights, but that failed. so I went back to 8080 and then that failed because I'd changed the right, so swapped that back. I set up a subdomain of ispconfig.monkeydoo.nz and that almost worked but I've already got the ssl configuration set up for my other domain and didn't really want to redo all of that as I've also pushed it to the mail system (though I'm wanting to have a crack at that next because I want to push to use more than one ssl cert on post fix and set up each domain with a template to make mail. imap. smtp. etc. and set up autoconfig).
Linking from one vhost to another can't work as all run under different users and it would be highly insecure doing that or changing permissions. You need separate vhosts and these must either use different domains/subdomains or different ports.