I just tested mine again and it worked 100%
Account created, PayPal paid and returned as updated paid invoice, account was activated, email received with login information, new user login worked.
Only things to test is if the renewal emails work and if auto-suspend works. Problem is that will take about a month
I will still try to compare my frontend and module to the current github versions.
Finally getting somewhere!
I have update my github with the files I am using for xbilling and the frontend:
https://github.com/TGates71?tab=repositories
It is set to use live PayPal. To use PayPal sandbox, edit ipn_listener.php (lines 52/53) and comment out line 52 and uncomment line 53. You must also edit the PayPal URL inside Sentora>xBilling>Payment Options>PayPal> Form HTML and change the PayPal URL accordingly:
Sandbox:
Code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
Live:
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
Also, this is my complete Form HTML data (sandbox):
Code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" id="payment_method_id" name="custom" value="">
<input type="hidden" name="business" value="{{business_email}}">
<input type="hidden" name="lc" value="{{country_code}}">
<input type="hidden" name="item_name" value="{{invoice_desc}}">
<input type="hidden" name="invoice" value="{{invoice_id}}">
<input type="hidden" name="amount" value="{{invoice_amount}}">
<input type="hidden" name="currency_code" value="{{currency}}">
<input type="hidden" name="discount_amount" value="{{discount_rate}}">
<input type="hidden" name="notify_url" value="{{notify_url}}">
<input type="hidden" name="return" value="{{return}}?invoice={{invoice_id}}">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>