Issue with Paypal sandbox merchantpaymentweb: no style and JS errors - paypal

I've been using PHP REST API SDK to work on the Paypal sandbox for a few days the first 2 weeks of October (and everything worked great), but when I came back to work on this project today, I had problem with the redirect URL to confirm the payment.
HTML seems OK but there is no style or picture and the form is displayed in simple HTML blocks. The JS console also returns errors like:
ReferenceError: PAYPAL is not defined merchan...3e80dcc (ligne 21)
ReferenceError: YUD is not defined merchan...3e80dcc (ligne 23, col. 17)
ReferenceError: PAYPAL is not defined merchan...3e80dcc (ligne 46)
ReferenceError: s is not defined merchan...3e80dcc (ligne 52)
Do you know if something change on this page? Requiring new parameters? Or is there a work in progress on this page?

I too have been seeing the same JS errors which I think are breaking the page.
Sent a message off to PayPal support and will update when/if I get an answer.

Related

Facebook Payments Asynchronous Testing

I am trying to test Facebook Canvas Payments within my Unity game, more specifically, asynchronous payment methods, however there seems to be a problem. Whenever I get to the Asynchronous Payment debug screen where you can select what sort of resolution to receive (This thing) the browser is giving me an error "TypeError: window.parent.require(...) is undefined" in Firefox and "Unable to get property 'processIFrame' of undefined or null reference" in IE.
Anybody got any ideas/ways to fix this?
This is a known bug, that is currently being tracked here: https://developers.facebook.com/bugs/1457965634504096/

Unknown Facebook API Error 1383066

I'm developing Facebook payment interface for my game. I did everything as described in documentation. And I came to the strange situation where "Asynchronous Payment Method" works just fine (I see callback calls to my server) but immediate "Test Payment Method" doesn't work (I do not see callback call to my server). Instead FB.ui call returns this error:
{
error_code: 1383066,
error_message: "Something went wrong while processing your payment…harged for this transaction, so please try again."
}
Here is a screenshot with error: http://monosnap.com/image/DetZ1VqEy1d7yuiVXdJLUZdL1Ukl45
Can anyone help?
p.s. I searched in Internet ant there is no information about FB API Error 1383066
Problem just gone by itself. I think that it was an issue on FB side and they just fixed it.

PayPal Sandbox Blank Address Error

I just recently started working with the PayPal API to start processing credit cards for a client and have run into an odd issue. I managed to get everything mostly working (the 400 Bad Request error that is all over SO is still outstanding for me) minus one thing. When I try to run a CC against the sandbox area with nothing specified for line 2 of the address I see the following error get logged:
Error Response: {"name":"VALIDATION_ERROR","details":[{"field":"payer.funding_instruments[0].credit_card.billing_address.line2","issue":"Must not be blank"}],"message":"Invalid request - see details","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR","debug_id":"cbaa2c4dfdb77"}
Why would address 2 be required? Their own documentation (https://developer.paypal.com/webapps/developer/docs/api/) says it isn't so I'm completely lost here.
This is using the RestAPISDK library downloaded from their GitHub instance and everything I'm doing is in C#.
When you have a blank value in a REST API call it will return an error. It isn't required to provide a line2 value but if you include the variable with a blank value the system will flip out. Remove the variable entirely and you should be good to go.

opencart 1.5.1.3 encrypt() paypal pro iframe

I'm using Opencart 1.5.1 and trying to implement pay pal pro through iframe. I got a module but it doesn't work. In logs I found:
Fatal error: Call to a member function encrypt() on a non-object in .../controller/payment/pp_standard.php on line
When I try to add
$registry->set('encryption', new Encryption($config->get('config_encryption')));
to index.php I got blank homepage and the checkout stops at the moment of choosing payment method (it's not visible). Any ideas how to reslove thios without upgrading OC ( got many changes to template files which fails to work after upgrade).
Kind regards,
Arek
also set your error reporting to on so you can see errors and not just blank pages.

Paypal shows old version error on express check out , I got my page run first but now shows this error

I doing paypal express checkout in jsp on sandbox with out using the sdk I am getting the ACK as sucess when generating the token after that when i redirected to sandbox now it shows error message on sandbox as
You have requested an outdated version of PayPal. This error often results from the use of bookmarks.
This is the Ack response i got
TOKEN=EC%2d5PT30649GD612951T&TIMESTAMP=2012%2d03%2d04T16%3a44%3a18Z&CORRELATIONID=4ed0e9de9ec8a&ACK=Success&VERSION=84%2e0&BUILD=2571254
I decoded the response using URLDecoder and redirected to the sandbox
if (ack.equals("Success")) { String logurl = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=express-checkout&token="+token;
response.sendRedirect(logurl);
}
Thanks in advance for any suggestions and answers
If you are receiving this error, it is best to check the url you are redirecting.
Documentation says that the URL is
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout
Careful with the _express-checkout part. If you are using an ide (like Visual Studio) that marks the urls as links, you might think that it is a space (as it becomes invisible) and at the first error you encounter, you might delete the underscore char.
I got it working and I am answering because i found many one have same error This error occurs mainly due to any of the samll errors or changes in your NVP if you are using it.
I think This link will be helps , deals with "You have requested an outdated version of PayPal"