Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
lat9
Because that resulted in a PHP Fatal Error, i.e. a Server 500 error.
Okay...so how do I FIX it so it works?
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
DragonLady
Okay...so how do I FIX it so it works?
Your best bet is to set paypal express to retired. Or remove it if you don't need access for old orders.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
gothstone
Your best bet is to set paypal express to retired. Or remove it if you don't need access for old orders.
I want to USE it.
Is it somehow out of date or is there a later module that is better somehow? I just downloaded the plugin as it is up-to-date with the latest version of Zen Cart and I'm trying to set it up as (currently) my only payment method. I'm under the impression the built-in PayPal modules are older, as I think they were around when I was using ZC ten years ago.
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
DragonLady
I want to USE it.
Is it somehow out of date or is there a later module that is better somehow? I just downloaded the plugin as it is up-to-date with the latest version of Zen Cart and I'm trying to set it up as (currently) my only payment method. I'm under the impression the built-in PayPal modules are older, as I think they were around when I was using ZC ten years ago.
@gothstone was referring to PayPal Express Checkout (paypalwpp).
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
lat9
I've successfully used live credentials on a localhost test environment.
Try turning on the module's debug configuration setting. That will create a trace-log in the site's /logs directory that might have additional information.
It appears to be that SSL needs to be in place:
2024-08-11 01:33:56: () validateCredentials: Checking ().handleCurlError for curlPost (v1/oauth2/token) : CURL error ({
"errNum": -2,
"errMsg": "SSL certificate problem: unable to get local issuer certificate",
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
mikecnz
It appears to be that SSL needs to be in place:
2024-08-11 01:33:56: () validateCredentials: Checking ().handleCurlError for curlPost (v1/oauth2/token) : CURL error ({
"errNum": -2,
"errMsg": "SSL certificate problem: unable to get local issuer certificate",
I'd forgotten about that restriction and have updated the payment-module's wiki to identify the requirement: https://github.com/lat9/paypalr/wiki...sked-Questions
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
lat9
@gothstone was referring to PayPal Express Checkout (paypalwpp).
??? So am I.
I have installed the PayPal RESTful API Payment Module and am trying to make it WORK.
I think I have all the proper information filled in, I'm in sandbox mode for testing at both my site and PayPal, but it returns the error I posted before.
If anyone can help me figure out the issue so I can make it work, I would much appreciate it.
PS: "PayPal Payments Standard" doesn't work at all. When trying to configure it there's a form for a "PDT Token (Payment Data Transfer)" value which doesn't return any results when I search PayPal's business tools. So even when I turn off the PayPal Express module, I can't make the other work, and I really do want to make sure I can take PayPal payments, even if I add other payment methods in the future.
Re: PayPal RESTful API Payment Module
The problem, I think, is that the forms on ZC do not match the API info from PayPal.
PayPal supplies a merchant ID, an 80+ character client ID and an 80+ character secret key.
The ZC forms ask for a username, password, and a signature code.
I'm not sure the information is analogous between the two. I've been *assuming* it is, and that the language used is the only distinction, but maybe that's not true?
Also, I can't find any place on the PayPal site to supply the IPN url information. Of course, that doesn't mean it isn't there, but I can't find it.
Re: PayPal RESTful API Payment Module
Have you tried the built-in PayPal Express with your credentials?
Re: PayPal RESTful API Payment Module
Quote:
Originally Posted by
DragonLady
The problem, I think, is that the forms on ZC do not match the API info from PayPal.
PayPal supplies a merchant ID, an 80+ character client ID and an 80+ character secret key.
The ZC forms ask for a username, password, and a signature code.
I'm not sure the information is analogous between the two. I've been *assuming* it is, and that the language used is the only distinction, but maybe that's not true?
Also, I can't find any place on the PayPal site to supply the IPN url information. Of course, that doesn't mean it isn't there, but I can't find it.
If "ZC forms" refers to the configuration information for the payment module, I can confirm that the PayPal Checkout (RESTful) module requests Client ID (live) and Client Secret (live) values.
I've got no clue where you are seeing username/password/signature code entries. Clue found: You're editing the PayPal Express Checkout module's settings.