1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Bug? Customer & Business Manager billing problems - PayPal and credit not applying

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Ross K, Aug 2, 2011.

  1. Ross K

    Ross K Basic Pleskian

    Sep 5, 2009
    Likes Received:
    Parallels Plesk Panel w/CBM, CentOS, 64-Bit


    We've just set up the customer & business manager billing solution as part of Plesk 10.

    We have setup PayPal as our primary payment gateway.

    We just did a live test, which involved a domain purchase for 1 year at £9.99 and a monthly subscription for web-hosting at £2.99.

    The PayPal transaction seemed to go through correctly, stating the first subscription payment was 12.98 GBP and then £2.99 thereafter. Payment was successful. However, when looking at the customer it shows:

    Account Balance
    Accounts receivable £9.99
    Authorized but not captured None
    Credit £9.99
    Revenue £12.98

    When you then look at invoices, it shows the customer as having paid £2.99, with £9.99 outstanding. When you go in to the invoice, there is a button at the top of the screen which shows "Apply Credit, Available Credit £9.99".

    So for some reason, the 'one off' payment part of the PayPal transaction was not automatically applied to the account, but Plesk knows it has been paid. The problem is, because the system still thinks the amount is due (as the credit hasn't been applied), it hasn't a) set up their hosting, or b) purchased the domain through api.

    Does anyone know why this would be?

    We've had to slightly alter the way domains are processed, because if you are paying using PayPal recurring subscriptions, if the customer elects to purchase a domain (annual payment) and hosting (monthly) payment, at the payment screen there are two identical PayPal Subscribe buttons (one for the annual sub, one for the monthly). Obviously that's just confusing to the customer. So we've edited the domain package in the backend so it does not not create a subscription (under "Automatic subscription expiration" we've told it to cancel after 1 cycle). That had the desired effect of making only 1 PayPal subscription button appear, with the one off charge merged in to the single subscription). Could that be the cause? In which case, this appears to be a bug?

    Is there anyway to make the credit automatically apply to the account?
    Last edited: Aug 2, 2011