If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / PayPal RESTful support / PayPal RESTful API Payment Module

PayPal RESTful API Payment Module

Started by lat9 on 12 Jan 2024, 1:16 PM · Views: 85,271

Results 461 to 480 of 502
3 Jul 2026, 9:12 AM
#461
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Post #461 by spminis

Thanks for your response.
I installed the non-encapsulated version. It's not showing on the payment modules so I can't install it.

3 Jul 2026, 10:57 AM
#462
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Post #462 by spminis

carlwhat:

if using the encapsulated version, did you go to:

admin -> modules -> plugin manager -> PayPal Restful Payment Module -> install

after that the module should be visible under payments.

best.
I got it working but the checkout page looks bad. There's no option for credit card payments. It's either paypal or check. Is there something I can do?
Thanks

3 Jul 2026, 11:14 AM
#463
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,151
Plugin Contributions:
56

Post #463 by lat9

There's a setting in the payment module's configuration that indicates whether you want to collect credit-card payments. You also need to contact your PayPal representative to ensure that your account is enabled to collect card payments.

3 Jul 2026, 1:46 PM
#464
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Post #464 by spminis

DUH!!
Thanks!

3 Jul 2026, 8:03 PM
#465
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Post #465 by spminis

Another issue.
I ran tests on the payment system and it worked. I disabled the other Paypal payment modules. A customer tried to place an order and I received the following email.
"Check the status of order #.... Paypal transactions were added outside of the payment-modules processing.
I don't see the order and there is not payment on Paypal.

Do you have any idea what the issue is? I appreciate your help
Thanks
Carol

4 Jul 2026, 12:43 AM
#466
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,151
Plugin Contributions:
56

Post #466 by lat9

You'll need to check with your PayPal representative. That message didn't come from the payment module.

4 Jul 2026, 10:58 AM
#467
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Post #467 by spminis

Thanks!

4 Jul 2026, 12:48 PM
#468
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,914
Plugin Contributions:
24

Post #468 by dbltoe

In my experience, that message appears because you removed or set the old PayPal to false.

If you keep the old PayPal account but set it to retired, it can still allow admins and users to view older orders made with that account.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

6 Jul 2026, 4:55 PM
#469
parkerweb avatar

parkerweb

New Zenner

Join Date:
May 2015
Location:
United States
Posts:
8
Plugin Contributions:
0

Post #469 by parkerweb

Hi
I am trying to help our client get the pay later working on her site.
We updated zen cart to be v2.2.2, PHP version 8.4
I installed the encapsulated paypal restful v2.1.1
https://upgradetest.tattingcorner.com/

We see the pay later messaging on the cart page, but when we get through to pay via a paypal account, all we see is this

pay in full and paypal credit - no option to pay in 4 installments.
I've checked her paypal account and all appears to be ok there. Pay later is enabled.

Any insight?

6 Jul 2026, 7:12 PM [edited]
#470
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,151
Plugin Contributions:
56

Post #470 by lat9

parkerweb:

Hi
I am trying to help our client get the pay later working on her site.
We updated zen cart to be v2.2.2, PHP version 8.4
I installed the encapsulated paypal restful v2.1.1
https://upgradetest.tattingcorner.com/

We see the pay later messaging on the cart page, but when we get through to pay via a paypal account, all we see is this

pay in full and paypal credit - no option to pay in 4 installments.
I've checked her paypal account and all appears to be ok there. Pay later is enabled.

Any insight?

Sorry, but that's a question for the site's PayPal representative.

6 Jul 2026, 8:03 PM
#471
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,766
Plugin Contributions:
56

Post #471 by swguy

Questions:

a) Would it be possible to have the credit card fields open by default?

b) Would it be possible to move the PayPal Wallet button below the credit card fields?

Happy to create a Github issue if these are features you would consider. Thanks.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Jul 2026, 12:07 AM
#472
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,914
Plugin Contributions:
24

Post #472 by dbltoe

Give this a try:

Add to includes/modules/payment/paypal/PayPalRestful/jquery.paypalr.checkout.js after line 20 (a blank line):

// --- MODIFIED INITIALIZATION LOGIC START ---    // MSC1 Force the 'Credit Card' option to be checked by default, 
    // ensuring the main payment method ('pmt-paypalr') is also checked if it's a radio button.
    
    // Select the main PayPal payment gateway radio/checkbox
    if (jQuery('#pmt-paypalr').length) {
        jQuery('#pmt-paypalr').prop('checked', true);
    }


    // Select the specific 'Credit Card' sub-option
    jQuery('#ppr-card').prop('checked', true);


    // Explicitly show the CC fields immediately on load
    showPprCcFields();
    // --- MODIFIED INITIALIZATION LOGIC END ---

Adjust comments as you will.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Jul 2026, 12:23 AM
#473
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,914
Plugin Contributions:
24

Post #473 by dbltoe

Also made the following changes to includes/languages/english/modules/payment/YOUR_TEMPLATE/lang.paypalr.php for clarity.

Line # 8-9 :

'MODULE_PAYMENT_PAYPALR_TEXT_TITLE' => '<b>PayPal Checkout:</b><br>',
'MODULE_PAYMENT_PAYPALR_SUBTITLE' => '(Select <b>PayPal Wallet</b> → <b>Confirm Order</b>)<br>(Select <b>Credit Card</b> → enter details → <b>Confirm Order</b>)',

Optional is changing the following around line 138:

'MODULE_PAYMENT_PAYPALR_BUTTON_COLOR' => 'WHITE',   //- One of WHITE, YELLOW, GREY or BLUE; defaults to YELLOW.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Jul 2026, 1:44 AM
#474
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,151
Plugin Contributions:
56

Post #474 by lat9

swguy:

Questions:

a) Would it be possible to have the credit card fields open by default?

b) Would it be possible to move the PayPal Wallet button below the credit card fields?

Happy to create a Github issue if these are features you would consider. Thanks.
Feel free to create those GitHub issues for feature updates at https://github.com/zencart/paypalr. That's the "source of truth" for the payment module.

7 Jul 2026, 9:36 AM
#475
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,766
Plugin Contributions:
56

Post #475 by swguy

Thank you - issues 39 and 40 created.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Jul 2026, 10:08 AM
#476
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,914
Plugin Contributions:
24

Post #476 by dbltoe

The suggestions above were for the non-encapsulated version of PayPal RESTful.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Jul 2026, 12:14 AM
#478
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
126
Plugin Contributions:
0

Post #478 by siliconbug

Got error logs on v1.5.8:

[14-Jul-2026 17:05:15 Canada/Pacific] PHP Fatal error:  Uncaught Error: Call to undefined method sniffer::indexExists() in /zc158/includes/modules/payment/paypalr.php:483
Stack trace:
#0 /zc158/includes/modules/payment/paypalr.php(237): paypalr->tableCheckup()
#1 /zc158/admin/modules.php(187): paypalr->__construct()
#2 /zc158/admin/index.php(11): require('/zc...')
#3 {main}
  thrown in /zc158/includes/modules/payment/paypalr.php on line 483

[14-Jul-2026 17:05:15 Canada/Pacific] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: x.x.x.x
--> PHP Fatal error: Uncaught Error: Call to undefined method sniffer::indexExists() in /zc158/includes/modules/payment/paypalr.php:483
Stack trace:
#0 /zc158/includes/modules/payment/paypalr.php(237): paypalr->tableCheckup()
#1 /zc158/admin/modules.php(187): paypalr->__construct()
#2 /zc158/admin/index.php(11): require('/zc...')
#3 {main}
  thrown in /zc158/includes/modules/payment/paypalr.php on line 483.
15 Jul 2026, 9:38 AM
#479
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #479 by carlwhat

siliconbug:

Got error logs on v1.5.8:

[14-Jul-2026 17:05:15 Canada/Pacific] PHP Fatal error: Uncaught Error: Call to undefined method sniffer::indexExists() in /zc158/includes/modules/payment/paypalr.php:483
Stack trace:
#0 /zc158/includes/modules/payment/paypalr.php(237): paypalr->tableCheckup()
#1 /zc158/admin/modules.php(187): paypalr->__construct()
#2 /zc158/admin/index.php(11): require('/zc...')
#3 {main}
thrown in /zc158/includes/modules/payment/paypalr.php on line 483

[14-Jul-2026 17:05:15 Canada/Pacific] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: x.x.x.x
--> PHP Fatal error: Uncaught Error: Call to undefined method sniffer::indexExists() in /zc158/includes/modules/payment/paypalr.php:483
Stack trace:
#0 /zc158/includes/modules/payment/paypalr.php(237): paypalr->tableCheckup()
#1 /zc158/admin/modules.php(187): paypalr->__construct()
#2 /zc158/admin/index.php(11): require('/zc...')
#3 {main}
thrown in /zc158/includes/modules/payment/paypalr.php on line 483.


despite the plugin page, v1.3.3 does not seem compatible with zc 1.5.8.

the missing method is not in zc 1.5.8.

i would downgrade to v1.3.2.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

15 Jul 2026, 11:42 AM
#480
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,151
Plugin Contributions:
56

Post #480 by lat9

Yes, for now you'll need to use the non-encapsulated v1.3.2 for Zen Cart versions < 2.1.0; I'll have a 1.3.4 posted shortly to correct the issue.