• Resolved Krissieg

    (@krissieg)


    Hi guys,
    I’m having issues with setting up payments on our site via paypal donations: https://prntscr.com/vbvgw4 When I try and add a paypal account I get a wordpress critical error.

    We use Woocommerce on our site, would this cause a problem at all?

    This is the error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 179 of the file /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Models/MerchantDetail.php. Error message: Uncaught InvalidArgumentException: To create a MerchantDetail object, please provide the following: merchantId, merchantIdInPayPal, clientId, clientSecret, token, accountIsReady, supportsCustomPayments, accountCountry in /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Models/MerchantDetail.php:179
    Stack trace:
    #0 /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Models/MerchantDetail.php(132): Give\PaymentGateways\PayPalCommerce\Models\MerchantDetail->validate(Array)
    #1 /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(122): Give\PaymentGateways\PayPalCommerce\Models\MerchantDetail::fromArray(Array)
    #2 /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(73): Give\PaymentGateways\PayPalCommerce\onBoardingRedirectHandler->savePayPalMerchantDetails()
    #3 /home/livewell/public_html/wp-content/plugins/give/src/Serv

    Thanks

    • This topic was modified 4 years ago by Krissieg.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Krissieg

    (@krissieg)

    Hi guys,
    Something weird is happening, I went to check the paypal setup today and it then states PayPal is all setup, but I hadn’t done anything. I tried testing the donation form with a credit card payment through paypal but it just hang for ages. So I thought I’d reconnect my paypal account – then again I get an error message:
    Error Details
    =============
    An error of type E_ERROR was caused in line 179 of the file /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Models/MerchantDetail.php. Error message: Uncaught InvalidArgumentException: To create a MerchantDetail object, please provide the following: merchantId, merchantIdInPayPal, clientId, clientSecret, token, accountIsReady, supportsCustomPayments, accountCountry in /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Models/MerchantDetail.php:179
    Stack trace:
    #0 /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Models/MerchantDetail.php(132): Give\PaymentGateways\PayPalCommerce\Models\MerchantDetail->validate(Array)
    #1 /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(122): Give\PaymentGateways\PayPalCommerce\Models\MerchantDetail::fromArray(Array)
    #2 /home/livewell/public_html/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(73): Give\PaymentGateways\PayPalCommerce\onBoardingRedirectHandler->savePayPalMerchantDetails()
    #3 /home/livewell/public_html/wp-content/plugins/give/src/Serv

    Please can you help me with this urgently? Our tribe member wants to get international donations sorted asap and this is holding us back a bit.
    Many thanks,
    Krissie

    Plugin Support Rick Alday

    (@mrdaro)

    Closing this ticket. We will follow up here: https://www.ads-software.com/support/topic/paypal-donation-just-hangs/

    Thread Starter Krissieg

    (@krissieg)

    Thanks Rick, I’ve signed up to your help section and look forward to getting this resolved. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Paypal Donation setup causes critical error’ is closed to new replies.