Prestashop PayPal Module: Not loading after clicking with "pay with paypal" - api

On the page in which the selection for payment method is made, paypal is not working. It used to work and i actually received a payment last monday, the 18th of March.
But now when i click on "pay with paypal", the page keeps loading and eventually sends this message to clients ;
Please try to contact the merchant:
PayPal response:
->
So the module has actually worked before but seized to work all of a sudden. Prestashop 1.4.7.3, PayPal 3.4.6

Try this: in modules/paypal/api/paypal_connect.php, look for "verbose", and set it to "false" instead of "true".
It should work.

Let's read this about the same problem:
"When you don't have any error messages it is because PayPal did not send any response. This error appends when your server IP has been banned from PayPal. This error often occurs when you are on a shared hosting platform because of hacks attempts but it could also occurs on dedicated hosting for the same reason" (http://forge.prestashop.com/browse/PNM-1199?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#issue-tabs)
Try to use another server with another IP. There is a man that said that it works (http://forge.prestashop.com/browse/PSCFV-8608?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#issue-tabs)

This error because of no return in both functions inside
paypal/api/paypal_connect.php
_connectByFSOCK
_connectByCURL
Both these functions are return false may be differences are between Certificate and Signature but remember Signature is the preferred way of accessing PayPal API.
you should check $url and #host in the above image may be not available any more.. in my case I changed mode to live and working fine but still in testing mode not working ... I think because of PayPal API not wor

Related

Error between SSL site and PayPal Standard

We have recently enabled SSL on our website and PayPal standard as an additional payment method to our ZenCart site. However where the transaction appears to go through ok, no orders are being recorded and no notification emails are being sent out. Also the auto return URL has lots of extra characters added.
I have checked settings and have added https:// for each URL back to my site
so IPN is https://mywebsite.com/ipn_main_handler.php
Auto return is https://mywebsite.com/index.php?main_page=checkout_process
My settings I take are as follows:
I have noted all my steps and hope this helps:
made a purchase with https://shaftdirect.com/sit-to-stand...est-p-152.html (its 1p)
click add to cart
click checkout
signed in :
(Shipping page)
Free delivery only option (already selected)
Special instructions: Added test ***********************Test**************************
(Payment Page)
Checked to agree to T&Cs
select paypal as payment
confirm
(sent over to paypal sign-in screen)
I log into my own account
click Pay now
It appears to work, but instead of the where I have the return url, https://shaftdirect.com/index.php?ma...eckout_process instead I am greeted with a blank screen and the following URL:
Code:
https://shaftdirect.com/index.php?main_page=checkout_process
&referer=paypal
&amt=0.01
&cc=GBP
&charset=windows-1252
&cm=zenid%3D5r70pquqt8gkltengfd3qkn5e6
&item_name=All%20the%20items%20in%20your%20shopping%20basket%20(see%20details%20in%20the%20store%20and%20on%20your%20store%20receipt).
&item_number=Shaft%20Direct%20Purchase
&st=Completed
&tx=0KW452399F310162G
And theres no record of the order or notification email sent out.
Please could anyone help?
Actually Sorry, on this one occasion I spoke to my hosting team and there was an issue with dns resolvers resolving paypal.com from our servers.
They've done something their end and now it works fine.

Yodlee webhooks not hitting my URL

I have been reading Yodlee Docs at https://developer.yodlee.com/Yodlee_API/Webhooks for implementing webhooks
What i did is, first registered a webhook for one of my users using following end point
POST /{cobrandName}/v1/cobrand/config/notifications/events/{eventName}
Then i triggered a refresh for one of the account using following endpoint POST /{cobrandName}/v1/refresh
But seems that Yodlee doesnt hit my URL when refresh is completed or there is an error in refresh.
I also tried to add an account using FastLink to see if Yodlee hits my URL when an account is added. But it doesn't. I am not sure what exactly is the problem. Can you please help?
Although i have a dobt - Does the webhook hit only if add/edit/refresh account was done using the API and not FastLInk provided by yodlee?
I am using Account Agreegation API and Developer account for testing.
Webhook event notifications will work only when you try to add the account using YSL APIs (manually).It doesn't work with FastLink. I have been informed by Yodlee Support. They also informed me that till date they don't have any client using webhook service, which was bit scary to know.
Please find a simple example to use webhooks-
1)Subscribe event using this URL- http://webhook.info/post/FLQLMZMFJI
2)Initiate add account process
3)Open the following URL and find the refresh notifications -
http://webhook.info/#/watch/FLQLMZMFJI
Please note: As you have subscribed for webhook event now. Please unsubscribe first using
DELETE /{cobrandName}/v1/cobrand/config/notifications/events/{eventName}
Delete Subscription

Paypal Express Checkout not sending money now live

Please help. I have recently updated the paypal express checkout system on my website (where it leaves the website to go to paypal for payment, then returns).
It was all working fine in sandbox. I went to put it live, and I have found the correct API credentials, but it won't work.
It takes me to the paypal page fine. It takes payment and returns me to the payment return url. All fine. But no payment actually moves anywhere.
What am I doing wrong?!
Thanks.
It takes me to the paypal page fine. It takes payment and returns me to the payment return url. All fine. But no payment actually moves anywhere.
From you declaring that, it seems that you are either not performing the DoExpressCheckout API call, which is the call that moves the money, OR you are getting an error with your DoExpressCheckout call. The flow and error codes for Express Checkout can be found here.
On PayPal pay attention to the button text -
If it reads "Agree and Pay" - then you have configured PayPal to take payment
If it reads "Agree and Continue" then you have only set up the transaction but PayPal is waiting for you to send a confirmation to take payment (there is no DoExpressCheckoutCall)

YouTube Data Api v3 - subscriptions.list and mine = true

I found following problem.
If user is authorized with youtube and you call subscriptions.list with parameter mine set to true. Then you get a list of subscriptions of authorized user. This works just fine if user has YouTube account linked with g+ page or if user has its own channel on YouTube. But if it is just a normal user without a channel and g+ page then this request returns "subscriberNotFound" error.
Is this a bug or am I doing something wrong?
You need to have a channel to subscribe, so that's normal.
You can read this blog for working with channel ids.
Also please use stackoverflow for only programming issues.
As suggested here, you should file bug reports or features request in public issue tracker.
The call to subscriptions.list can't return a subscriptionNotFound Error. This is an error which only occurs when you try to delete a subscription. Maybe you are calling the wrong method? Take a look at this link for more information on the possible error codes, and details why they occur. For all Error codes look here

Authorize.net Integration

I am attempting to integrate Authorize.net into my site. I have set up and activated a test account in their test.authorize.net domain and have obtained and inserted their API key/login for my account into my configurations. I run my script through their API and I get the proper success message that they've received the information. However, every time I log into the test.authorize.net domain and search for the transactions via their Search tab, it always returns with nothing regardless of what parameters I search with. What can cause this?
Look in the unsettled transactions. That's where they'll be.
FYI, Authorize.Net developer accounts do not actually process transactions. They only validate that the data you sent over via their API was valid and complete. If it is you will receive an approved response with a fake transaction number, approval, and AVS response code (which is always a match). If your made an invalid API call an error message will be returned alerting you to your error so you can correct it.
If you don't want o call Authorize.Net for support or they give you the run around, you can also get help in their developer forums.
Authorize.net does not actually log transactions in test mode.
You should call their support; they are fantastic. However, from my experience you typically get a shared account where lots of tests are running and it can be hard to search for your transaction.