If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Payment Modules / Square WebPay support thread.

Square WebPay support thread.

Started by carlwhat on 6 Apr 2022, 6:02 PM · Views: 129,956

Results 621 to 640 of 808
13 Apr 2024, 9:28 AM
#621
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Square WebPay support thread.

I know it's early days, but does anyone know if this square mod works with the latest version of zen cart (2.0.0)?

20th Century Glass - Antique & Collectable Glass Store

13 Apr 2024, 9:31 AM
#622
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Square WebPay support thread.

WayneStephens:

I know it's early days, but does anyone know if this square mod works with the latest version of zen cart (2.0.0)?

I have it working in a few =)

13 Apr 2024, 10:55 AM
#623
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: Square WebPay support thread.

mprough:

I have it working in a few =)

Good to know, thanks! Did the language file need updating to the new format, or is it ok as is?

20th Century Glass - Antique & Collectable Glass Store

13 Apr 2024, 11:00 AM
#624
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: Square WebPay support thread.

WayneStephens:

Good to know, thanks! Did the language file need updating to the new format, or is it ok as is?

I always use the new and move over changes...

14 Apr 2024, 10:36 AM
#625
waynestephens avatar

waynestephens

New Zenner

Join Date:
Aug 2009
Posts:
48
Plugin Contributions:
0

Re: Square WebPay support thread.

mprough:

I always use the new and move over changes...

I figured that would be best, cheers!

20th Century Glass - Antique & Collectable Glass Store

15 Apr 2024, 11:39 AM
#626
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

OJ_SIMON:

ZC V1.5.8
OPC V2.5.1
square_webPay-1.0.4 (API Version 2022-02-16 (P.s is there plans to update the API version or would the plugin require rewriting for this?))

Hi,

I have this working. But I only have credit cards now i would like to add a few more like:
Take a Google Pay Payment,
Take an Apple Pay Payment,
Take a (square) Gift Card Payment,
Take a Payment with Cash App Pay.

I have found this: https://developer.squareup.com/docs/web-payments/overview
and have looked in \includes\modules\payment\square_webPay.php around line 240 (public function selection)
and I think from looking at the overview to show new payment methods it seems we just add like:

<!-- Add the google-pay-button div below --> <div id="google-pay-button"></div> ``` > but what about the extra bits of code are these already within this plugin to go or will that also need adding to the plugin and if so would you know how or where please? > > Any help on this would be welcome.

Can anyone please help on this ?

19 Apr 2024, 1:26 AM
#627
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

I have installed the Square WebPay module on my site (v 1.5.7c). The module shows in payment modules and I have successfully activated it. However, when I put something in my cart and try to check out, it does not show Square WebPay, it only shows Paypal as the payment option. I have not been able to find the solution on this thread. What would allow it to be installed on the admin side, but not even show up as an option to a customer when checking out? Website is: personalizedpetid dot com

Can someone please help?

19 Apr 2024, 1:32 AM
#628
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

gizmo_girl:

I have installed the Square WebPay module on my site (v 1.5.7c). The module shows in payment modules and I have successfully activated it. However, when I put something in my cart and try to check out, it does not show Square WebPay, it only shows Paypal as the payment option. I have not been able to find the solution on this thread. What would allow it to be installed on the admin side, but not even show up as an option to a customer when checking out? Website is: personalizedpetid dot com

Can someone please help?
have you made your square account and added the correct API key's

19 Apr 2024, 1:38 AM
#629
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Square WebPay support thread.

I'll take a WAG that the Sort Order shows a circle that is not green. If WebPay is not showing with a green dot in the Admin >> Modules >> Payment Modules, you still either need to provide more info (edit), set it to true (edit) or confirm your credentials with Square.

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

19 Apr 2024, 1:42 AM
#630
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

dbltoe:

I'll take a WAG that the Sort Order shows a circle that is not green. If WebPay is not showing with a green dot in the Admin >> Modules >> Payment Modules, you still either need to provide more info (edit), set it to true (edit) or confirm your credentials with Square.

I have done all of those things. Square WebPay shows as active with a green dot. Square account created, API credentials confirmed and entered, copied directly from the developer’s page in square, and entered in the appropriate areas of the square webpay module.

19 Apr 2024, 1:43 AM
#631
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

OJ_SIMON:

have you made your square account and added the correct API key's

Yes, account created and API credentials copied over.

19 Apr 2024, 5:24 AM
#632
carlwhat avatar

carlwhat

zennedOut

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

Re: Square WebPay support thread.

gizmo_girl:

I have installed the Square WebPay module on my site (v 1.5.7c). The module shows in payment modules and I have successfully activated it. However, when I put something in my cart and try to check out, it does not show Square WebPay, it only shows Paypal as the payment option. I have not been able to find the solution on this thread. What would allow it to be installed on the admin side, but not even show up as an option to a customer when checking out? Website is: personalizedpetid dot com

Can someone please help?

as the AUTHOR of this module, i would say i can and i will.

first off, i am not a lawyer, and i do not even play one on tv. so nothing here can be construed as legal advice.

given that disclaimer; despite the wording of the description of this key:

PADSS_AJAX_CHECKOUT

turning this off would not validate any PCI DSS rules for square webPay. square webPay collects all of the sensitive card holder data using its own javascript code; no sensitive cardholder data touches your website therefore your website is out of scope when considering PCI DSS rules.

so, considering that information, try turning that key to the non-compliant setting and see if square then shows up.

if you need help as to how to do that, perhaps someone else can point you in the right direction.

if once you have turned that to non compliant and square shows up, i will look into seeing how we can make square show up when it is in on the on status.

in addition, it seems that the script:

tpl_ajax_checkout_confirmation_default.php

might need some tweaking. having a radio button when there is only a single choice seems like a UI hack to me.

let us know if that works.

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

19 Apr 2024, 11:36 AM
#633
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

as the AUTHOR of this module, i would say i can and i will.

first off, i am not a lawyer, and i do not even play one on tv. so nothing here can be construed as legal advice.

given that disclaimer; despite the wording of the description of this key:

PADSS_AJAX_CHECKOUT

turning this off would not validate any PCI DSS rules for square webPay. square webPay collects all of the sensitive card holder data using its own javascript code; no sensitive cardholder data touches your website therefore your website is out of scope when considering PCI DSS rules.

so, considering that information, try turning that key to the non-compliant setting and see if square then shows up.

if you need help as to how to do that, perhaps someone else can point you in the right direction.

if once you have turned that to non compliant and square shows up, i will look into seeing how we can make square show up when it is in on the on status.

in addition, it seems that the script:

tpl_ajax_checkout_confirmation_default.php

might need some tweaking. having a radio button when there is only a single choice seems like a UI hack to me.

let us know if that works.

Ok thank you for the non-legal advice! 😁
I know just enough to be dangerous with this website, and I have no clue where one might even find this information. If anyone has some “theoretical” answers where this is located and how to disable it, I’d be interested in details. For research purposes, of course. 😉

19 Apr 2024, 12:37 PM
#634
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Square WebPay support thread.

gizmo_girl:

Ok thank you for the non-legal advice! ??
I know just enough to be dangerous with this website, and I have no clue where one might even find this information. If anyone has some “theoretical” answers where this is located and how to disable it, I’d be interested in details. For research purposes, of course. ??

You'll find it in your admin under Configuration>>My Store about 2/3rds of the way down the page. The selection name is "PA-DSS Ajax Checkout?
"

Jim
Wheaton Website Services

19 Apr 2024, 1:32 PM
#635
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

jeking:

You'll find it in your admin under Configuration>>My Store about 2/3rds of the way down the page. The selection name is "PA-DSS Ajax Checkout?
"

Thanks for pointing me to where to find that. I have turned that off and still no button for Square WebPay. :no: Any other ideas?

19 Apr 2024, 1:55 PM
#636
carlwhat avatar

carlwhat

zennedOut

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

Re: Square WebPay support thread.

what version of square webPay are you running?

also, please post the code from square_webPay.php that starts after this line:

public function selection()

in version 1.0.4 it starts at line 240.

the last 2 lines look something like this:

             return $selection;
        }

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

19 Apr 2024, 2:35 PM
#637
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

carlwhat:

what version of square webPay are you running?

also, please post the code from square_webPay.php that starts after this line:

public function selection()

> 
> in version 1.0.4 it starts at line 240.
> 
> the last 2 lines look something like this:
> 
> ```php
             return $selection;
        }

Square WebPay version 1.0.4

Here is the code from that section:

    public function selection()
    {
        $selection = [
            'id' => $this->code,
            'module' => $this->title,
            'fields' => [
                [
                    'title' => '',
                    'field' => '<div id="card-container" ></div>
                        <button id="card-button" type="button">Use Credit Card</button>',
                ],
            ],
        ];

        return $selection;
    }
19 Apr 2024, 2:47 PM
#638
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

do you have this file in place: includes/modules/pages/checkout_payment/jscript_square_webPay.php
as if I'm right this is the file that actually adds the buttons and bits?

19 Apr 2024, 3:23 PM
#639
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Square WebPay support thread.

OJ_SIMON:

do you have this file in place: includes/modules/pages/checkout_payment/jscript_square_webPay.php
as if I'm right this is the file that actually adds the buttons and bits?

Yes, that file is in place

19 Apr 2024, 3:26 PM
#640
oj_simon avatar

oj_simon

Zen Follower

Join Date:
Nov 2023
Location:
Hounslow
Posts:
129
Plugin Contributions:
0

Re: Square WebPay support thread.

gizmo_girl:

Square WebPay version 1.0.4

Here is the code from that section:

    public function selection()
    {
        $selection = [
            'id' => $this->code,
            'module' => $this->title,
            'fields' => [
                [
                    'title' => '',
                    'field' => '<div id="card-container" ></div>
                        <button id="card-button" type="button">Use Credit Card</button>',
                ],
            ],
        ];

        return $selection;
    }

do you see any of this:

<div id="card-container" ></div>
<button id="card-button" type="button">Use Credit Card</button>

when you use dev tools by right click in chrome inspect?