Jump to content

Search the Community

Showing results for tags 'subscriptions'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
    • WHMCS V7.5
  • The Latest from the WHMCS Team
    • News & Announcements
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • WHMCS.Community Tips & Tricks
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • Third Party Developers's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség

Calendars

  • Community Calendar

Categories

  • Articles

Found 4 results

  1. I'm having a huge problem with people setting up a subscription when buying hosting. about half of them are paying again when they get an invoice reminder and I'm sending refunds back like crazy which are costing me fees in paypal. There is no need for an invoice reminder for active subscriptions, how can I disable this only for active subscriptions? I'd like to keep sending invoice reminders for people without active subscriptions and overdue subscriptions so they're reminded to pay manually.
  2. Hi, I thought I would share that I managed to do this, and should help out others. The topic that did it for me. http://thereforei.am/2012/07/03/cancelling-subscriptions-created-with-paypal-standard-via-the-express-checkout-api/ So in the module I created under the function terminate. I used the API to get the product details of the service. This gave me the subscription ID. I then run the PayPal function which terminated the subscription. //// SUSPEND PAYPAL PAYMENTS //// $command = "getclientsproducts"; $adminuser = "whmusername"; $values["clientid"] = $params['clientsdetails']['userid']; $values["serviceid"] = $params["serviceid"]; $values["responsetype"] = "xml"; $PRODUCTARRAY = localAPI($command,$values,$adminuser); $SUBSCRIPTIONID = $PRODUCTARRAY[products][product][0]['subscriptionid']; change_subscription_status( $SUBSCRIPTIONID, 'Cancel' ); //// SUSPEND PAYPAL PAYMENTS //// PayPal Function /** * Performs an Express Checkout NVP API operation as passed in $action. * * Although the PayPal Standard API provides no facility for cancelling a subscription, the PayPal * Express Checkout NVP API can be used. */ function change_subscription_status( $profile_id, $action ) { $api_request = 'USER=' . urlencode( 'api_username' ) . '&PWD=' . urlencode( 'api_password' ) . '&SIGNATURE=' . urlencode( 'api_signature' ) . '&VERSION=76.0' . '&METHOD=ManageRecurringPaymentsProfileStatus' . '&PROFILEID=' . urlencode( $profile_id ) . '&ACTION=' . urlencode( $action ) . '&NOTE=' . urlencode( 'Profile cancelled at store' ); $ch = curl_init(); curl_setopt( $ch, CURLOPT_URL, 'https://api-3t.sandbox.paypal.com/nvp' ); // For live transactions, change to 'https://api-3t.paypal.com/nvp' curl_setopt( $ch, CURLOPT_VERBOSE, 1 ); // Uncomment these to turn off server and peer verification // curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, FALSE ); // curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, FALSE ); curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt( $ch, CURLOPT_POST, 1 ); // Set the API parameters for this transaction curl_setopt( $ch, CURLOPT_POSTFIELDS, $api_request ); // Request response from PayPal $response = curl_exec( $ch ); // If no response was received from PayPal there is no point parsing the response if( ! $response ) die( 'Calling PayPal to change_subscription_status failed: ' . curl_error( $ch ) . '(' . curl_errno( $ch ) . ')' ); curl_close( $ch ); // An associative array is more usable than a parameter string parse_str( $response, $parsed_response ); return $parsed_response; } Hope this helps and saves plenty of time and $$$ Feel free to improve it. Like if subcription == ' ' Enjoy
  3. Hello, This was just a quick module I wrote to show PayPal Subscriptions within my WHMCS installation. I also tried to come up with a way of showing PayPal Subscriptions that haven't been cancelled, but the service had (so the customer may still be paying for a service they no longer have). Installation It's quite easy to install: 1) Download the ZIP from here 2) Upload the contents of to /modules/addons/paypalsubscriptions 3) Login to WHMCS -> Addon Modules -> PayPal Subscritions Module -> Activate 4) Addons -> PayPal Subscriptions Version: 1.0 GitHub: https://github.com/Danomanic/WHMCSPayPalSubscriptions Issues/Suggestions: https://github.com/Danomanic/WHMCSPayPalSubscriptions/issues Download: https://github.com/Danomanic/WHMCSPayPalSubscriptions/archive/master.zip - - - Updated - - - To-do (what I'm working on): - Add a button which will make a call to the PayPal API, and cancel the subscription when clicked. - Cancel PayPal subscriptions automatically when the client cancels their service.
  4. Recurring Payments

    Hi there, I have some services setup and would like to bill just a setup fee for the first month and a monthly fee for subsequent months. I tried doing this but it doesn't work correctly -- right now, my new clients are billed both setup fee and monthly when they signup instead of just the setup fee at sign up. Is there any way I can configure a $0 fee just for the first month so my clients just need to pay for setup fee on first month and then pay a monthly subscription from the second month? I run version 5.2.16. Thanks.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines