Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Build an eCommerce Site Using WordPress & WooCommerce

Leigh Maher
Leigh Maher
21,830 Points

Should the PayPal sandbox work for a localhost set up?

I've set up a PayPal sandbox account and tried a test order, but I keep getting a fatal error. It spits out a load of error messages, but I can't make any sense of it. I'm doing this on a localhost and I'm wondering if this might be causing the issues? Here's the error messages:

ConnectionManagerError: Cannot connect to db FININST, pip fininst_occ_host 1:10.72.108.212:33465: socket. Gave up after 2 ConnectionManager tries. Backtrace: PPException::PPException(String const&) ConnectionManagerError::ConnectionManagerError(String const&) ConnectionManager::connect_pip(SmartPointer const&, OCCHost const&, unsigned) ConnectionManager::get_connection(OCCHost const&, bool, bool, bool) TransactionHandler::prepare_sql(char const*, OCCHost const&, char const*, unsigned, bool) BaseDB::prepare_sql(char const*, char const*, unsigned, bool) CachingBaseDB::prepare_sql(char const*, BaseDBString::ASCIIString const&, bool) WUserCC::internal_load_user_superset(BaseDBCacheArray&, TArray, ForUpdate, int) WUserCC::internal_load_user_superset(BaseDBCacheArray&, unsigned long long, ForUpdate, int) WUserCC::load_by_user(unsigned long long, ForUpdate, unsigned long, unsigned long, char) FinancialInstrument::CreditCardPBImpl::load_all_credit_cards(unsigned long long, TArray&, ForUpdate, bool) const FinancialInstrument::CreditCardSCPBImpl::load_all_credit_cards(unsigned long long, TArray&, ForUpdate, bool) const FinancialInstrument::CreditCardBLIImpl::get_cc_list_by_account_number(unsigned long long, TArray&, TArray const*, unsigned long, unsigned long, unsigned long, unsigned long, ForUpdate) FinancialInstrument::CreditCardBLIImpl::get_system_preferred_card(unsigned long long const&, unsigned long long const&, FinancialInstrument::CreditCardBDO&) FinancialInstrument::CreditCardBLIImpl::get_system_preferred_card(User::AccountBDO const&, FinancialInstrument::CreditCardBDO&) Rapids::Flows::Unity::StateUnityAnalyzeTransaction::execute(Rapids::CGIVars const&) Rapids::DecoratedState::execute(Rapids::CGIVars const&) Riprap::RiprapRapidsGenericFlow::handle_execute(Riprap::WebAppContextOrnate const&, Rapids::TransitionRegistry const&, Rapids::State*, String const&, String const&, unsigned long long) Riprap::RiprapRapidsGenericFlow::process_states(Riprap::WebAppContextOrnate const&, Riprap::RiprapRapidsGenericFlow::ProcessStates, Riprap::DispatchInterceptorRegistry const&, Rapids::TransitionEdge const*) Riprap::RiprapRapidsGenericFlow::flow_continue_post(Riprap::WebAppContextOrnate const&, Riprap::DispatchInterceptorRegistry const&) Riprap::call_rapids(Riprap::WebAppContext const&, Riprap::RapidsFlowFactory const&, Riprap::DispatchAction const&, Riprap::WebAppReturn const&, String const&, Riprap::DispatchInterceptorRegistry const&) Riprap::dispatch_loop(Riprap::EPRegistry const&, Riprap::WebAppContext const&, Riprap::DispatchAction&, Riprap::WebAppReturn&, String const&, Riprap::DispatchInterceptorRegistry const&) Riprap::dispatch_wrapper(OutputStream&, Riprap::EPRegistry const&, Riprap::WebAppContext const&, Riprap::WebAppReturn const&, String const&, bool const&, Riprap::DispatchInterceptorRegistry const&) Riprap::entry_point(HTTPInterface&, Riprap::CGIVars&, OutputStream&, String const&, String const&) main

An error has occurred.

2 Answers

Leigh Maher
Leigh Maher
21,830 Points

Thanks for the reply Zac. I suspected that was the issue. On that page some people do offer workarounds. I'll probably just upload the site I'm working on to a test server but it looks like it is possible.

By the way: while I have your attention, I just want to say I've taken a few of your courses and I've found them to be some of the best structured and easy to follow courses on TreeHouse.

Cheers.