Jump to content

Annaleria

Member
  • Posts

    10
  • Joined

  • Last visited

About Annaleria

Annaleria's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. We are getting the above error when trying to update a client's credit card details, both through the client area and admin area of WHMCS. We are using Stripe for processing payments and the following can be seen in the Billing->Gateway Log UserID => 1457 exception 'Stripe_CardError' with message 'Your card was declined.' in /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiRequestor.php:92 Stack trace: #0 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiRequestor.php(136): Stripe_ApiRequestor->handleApiError('{\n "error": {\n...', 402, Array) #1 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiRequestor.php(74): Stripe_ApiRequestor->_interpretResponse('{\n "error": {\n...', 402) #2 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiResource.php(94): Stripe_ApiRequestor->request('post', '/v1/customers/c...', Array) #3 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/Customer.php(32): Stripe_ApiResource->_scopedSave('Stripe_Customer') #4 /home/account.infoserve.com/public_html/hosting/modules/gateways/mostripe.php(347): Stripe_Customer->save() #5 /home/account.infoserve.com/public_html/hosting/includes/ccfunctions.php(0): mostripe_storeremote(Array) #6 /home/account.infoserve.com/public_html/hosting/clientarea.php(0): updateCCDetails() #7 {main} #Status Code: 402 Other cards have been stored without any issue for other customers before and since, so it appears to be an issue with this customer or card. Any further insight would be greatly appreciated.
  2. Thanks Brian, this was just what I needed, after you pointed me in the direction of the feeds I took a look at the scripts and started to create our own version with to return the data we need. As you said I was aware that the data was in the $_SESSION['cart'] but I just didn't know how to access it, the feeds are the missing step I was looking for
  3. That's great information about the feeds, thank you Brian, I'll look into that. Is this the only data available by the feeds? Would it be possible to get the cart item details, say via AJAX on a button click for example using some method?
  4. I have now managed to download it, but I had to create an account first. Looking at the readme.txt there are instructions for template five and six, but it would appear that this will not solve the issue that I wanted the addon for Thank you for taking a look Brian, if you've any further ideas about displaying the basket details in the domain where WHMCS is installed in a subdomain I'd be very keen to hear them.
  5. The issue isn't installing WHMCS in a subdomain as that is what we have done, however we want to be able to display the contents of the basket on our main site which is installed on the main domain. These domains are all on the same server btw. So we have WHMCS installed on account.mysite.com and the main site is http://www.mysite.com and we wish to be able to display the contents of the basket in a mini cart in the header of http://www.mysite.com
  6. This is the link to the addon as it appears in the appstore, but as I mentioned I've not been able to actually download the addon to try it.
  7. Is this add on still available? I've tried to download the free copy several times now to evaluate it but I never receive the download link and I've even tried to use different email addresses. If not can someone please advise on displaying a WHMCS shopping cart in a subdomain? Thanks in advance.
  8. Also if you need to quickly fix this then as per the WHMCS upgrade documentation, http://docs.whmcs.com/Version_6.0_Release_Notes#Upgrade_to_Smarty_3
  9. I'm interested to know if you found a resolution to this as we have been having the same issue. The payment it's self goes through without issue and the email confirmation can arrive before the order confirmation page is displayed.
×
×
  • 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