Re: Square WebPay support thread.
Quote:
Originally Posted by
OJ_SIMON
have you made your square account and added the correct API key's
Yes, account created and API credentials copied over.
Re: Square WebPay support thread.
Quote:
Originally Posted by
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.
Re: Square WebPay support thread.
Quote:
Originally Posted by
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. 😉
Re: Square WebPay support thread.
Quote:
Originally Posted by
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?
"
Re: Square WebPay support thread.
Quote:
Originally Posted by
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?
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:
PHP Code:
public function selection()
in version 1.0.4 it starts at line 240.
the last 2 lines look something like this:
PHP Code:
return $selection;
}
Re: Square WebPay support thread.
Quote:
Originally Posted by
carlwhat
what version of square webPay are you running?
also, please post the code from square_webPay.php that starts after this line:
PHP Code:
public function selection()
in version 1.0.4 it starts at line 240.
the last 2 lines look something like this:
PHP Code:
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;
}
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?
Re: Square WebPay support thread.
Quote:
Originally Posted by
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
Re: Square WebPay support thread.
Quote:
Originally Posted by
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:
HTML Code:
<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?