Paypal recurring payment receive "Got Http response code 400 when accessing" message.

Listing & Directory WordPress Theme
https://listgo.wiloke.com/
onlyshallow
Posts: 35
Joined: Wed Aug 16, 2017 11:52 pm
Contact:

Paypal recurring payment receive "Got Http response code 400 when accessing" message.

Postby onlyshallow » Sun Jan 07, 2018 9:30 pm Supported Until: Thu Aug 16 05:45:50 +1000 2018

We found that there's Paypal problem with Listgo version 1.6.0.2, when we set up the recurring payment we receive "Got Http response code 400 when accessing" message, but back into version 1.5.8, recurring payment setting do not have this issue.

We already double check with Wordpress timezone setting and PayPal timezone setting, the problem still occur.

User avatar
pirateS
Site Admin
Posts: 6232
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Paypal recurring payment receive "Got Http response code 400 when accessing" message.

Postby pirateS » Tue Jan 09, 2018 12:14 pm

Hi
Please try the flowing way:
1. Log into your hosting
2. Go to wp-content -> plugins -> wiloke-listgo-functionality folder
3. go to app -> Framework -> Payment -> PayPal -> Opening PayPalRecurringPaymentMethod.php
4. go to line 199 -> replacing 0.01*exchange rate (USD/Your Currency)
5. If this issue still there, please remove setSetupFee(new Currency(array('value' => 1, 'currency' => $this->aConfiguration['currency_code'])));


5.1. Replacing setupfee

CodeColon Select All Code

$merchantPreferences->setReturnUrl($this->thankyouUrl)
                          ->setCancelUrl($this->cancelUrl)
                          ->setAutoBillAmount('yes')
                          ->setInitialFailAmountAction('CANCEL')
                          ->setMaxFailAttempts($this->maxFailedPayments)
               >setSetupFee(new Currency(array('value' => 0.01* exchangeRate, 'currency' => $this->aConfiguration['currency_code'])));


5.1. Remove setupfee

CodeColon Select All Code

$merchantPreferences->setReturnUrl($this->thankyouUrl)
                          ->setCancelUrl($this->cancelUrl)
                          ->setAutoBillAmount('yes')
                          ->setInitialFailAmountAction('CANCEL')
                          ->setMaxFailAttempts($this->maxFailedPayments);


Please confirm it if PayPal works again.

onlyshallow
Posts: 35
Joined: Wed Aug 16, 2017 11:52 pm
Contact:

Re: Paypal recurring payment receive "Got Http response code 400 when accessing" message.

Postby onlyshallow » Thu Jan 11, 2018 4:01 pm Supported Until: Thu Aug 16 05:45:50 +1000 2018

Hi!

We tried #4 and #5, the problem still occurs.

User avatar
pirateS
Site Admin
Posts: 6232
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Paypal recurring payment receive "Got Http response code 400 when accessing" message.

Postby pirateS » Sat Jan 13, 2018 9:47 am

Please create a temporary account for me contact.wiloke@gmail.com
One more thing, make sure that PayPal Configuration is completed https://blog.wiloke.com/setup-paypal-ga ... tgo-1-5-x/


Return to “ListGo”

Who is online

Users browsing this forum: No registered users and 2 guests