Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/14/2022 : 08:03:30
When we first setup Square as a payment provider, we cut off the GPay. ApplePay, Masterpass because we didn't exactly understand it. I'm trying to add it back in, but it appears there is maybe a problem with the CSS for Masterpass? The CSS file references an SVG: .sq-masterpass{ background-color:#000; background-image:url(https://masterpass.com/dyn/img/btn/global/mp_chk_btn_384x048px.svg); background-repeat:no-repeat; background-size:contain; background-position:center right; border-radius:5px; height:42px; margin-bottom:16px; width:100%; display:none; }
But that SVG file cannot be accessed. Perhaps there should be an update to the CSS to point elsewhere?
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/14/2022 : 08:06:32
Similarly, Apple Pay doesn't seem to display properly either. G Pay looks right though and seems to work as intended.
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/14/2022 : 08:13:15
It looks like the integration they specify has changed a bit from what the ECT cart has coded:
https://developer.squareup.com/docs/payment-form/add-digital-wallets/google-pay https://developer.squareup.com/docs/payment-form/add-digital-wallets/masterpass https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 06/14/2022 : 08:42:57
Hi Graham, I switched to square some time back and like it for the most part. Particularly my rate. I think the integration could use some updating as well. Authorize/Capture does not work, so we had to set capture and with many orders lately having shortages due to supply chain issues, we are having to do lots of partial refunds. I too suppressed the gpay and other buttons and have been thinking of adding them back, but I did notice I could not see an apply pay button. My other issue is duplicate payments. Today, a customer paid 4 times. It's not happened often, and in all fairness Vince did suggest a cache buster that I have not tried yet. Perhaps we can nudge Vince to update the square integration. David
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/14/2022 : 09:59:34
We switched to Square maybe a year ago after PayPal decided they no longer refund fees on any refunded payments. In a post Covid world where supply chains are so constricted, we would be dying in unrefunded fees if not for Square. Paypal has really gone down hill since the glory days. At this point we only use Paypal in the most limited fashion because we have to. We have been SO happy with Square.
I dont think it would take much to update the GPay, Apple Pay, Masterpass functionality. I'm on a quest to work through that so I'll try to remember to let you know what we come up with.
I had looked into the duplicate payment issue when we first integrated. I believe there's actually a way to correct it if I remember correctly, but it needed me to tweak the core cart code for square and I wasn't confident enough to do that. For now it's just an inconvenience that requires a touch more customer service help to correct.
|
Vince
Administrator
42754 Posts |
Posted - 06/15/2022 : 02:04:57
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/15/2022 : 04:56:32
Folks like Dave and myself are under no illusions as to how valuable Vince is to our day to day operations!
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 06/15/2022 : 07:46:50
Well said Graham. David
|
Vince
Administrator
42754 Posts |
Posted - 06/20/2022 : 03:14:51
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/20/2022 : 05:56:58
Yeah, I'm all in. It's on the to-do list to get those things activated and functioning properly. In hindsight, what a mistake for me to NOT be displaying those options.
I'm a couple versions behind (6.9.4), so I dont have the "data3" variable yet in inccart.asp. I'm set to update to the latest stable version sometime late this year, so I may have to just extract the changes out and incorporate them into my version until then.
- Graham Slaughter
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 06/20/2022 : 09:59:47
Hi Vince, I would like to be able to use authorize/capture as mentioned above.
Thanks, David
|
Vince
Administrator
42754 Posts |
Posted - 06/20/2022 : 14:20:33
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 06/20/2022 : 14:26:51
The transactions do show in square, but we would have to go in and capture them there, instead of the admin. We would like to be able to handle orders like Paypal direct/Paypal payments pro Order comes in and we review and if all looks good, we capture and process the order.
If there is a shortage on the order, we can make the edit and capture for the lesser amount instead of having to log into square and issue a partial refund.
Thanks, David
|
Vince
Administrator
42754 Posts |
Posted - 06/23/2022 : 05:30:14
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 06/30/2022 : 10:56:02
Were you also able to look at updating the missing masterpass buttons etc?
|
Vince
Administrator
42754 Posts |
Posted - 07/02/2022 : 05:11:26
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 07/02/2022 : 06:44:17
There is at least some sample CSS indicated at these links. Might be a decent place to start, but I'll be honest I didn't read that terribly closely and I might be full of crap :P
https://developer.squareup.com/docs/payment-form/add-digital-wallets/google-pay https://developer.squareup.com/docs/payment-form/add-digital-wallets/masterpass https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay
|
Vince
Administrator
42754 Posts |
Posted - 07/03/2022 : 06:25:45
|
Vince
Administrator
42754 Posts |
Posted - 07/03/2022 : 07:03:15
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 07/03/2022 : 14:55:02
I'll work on it this week! Thanks for poking at that for us. I'll let you know how it works.
|
Graham Slaughter
Ecommerce Template Expert
821 Posts |
Posted - 07/05/2022 : 07:47:35
I copied in the SQUAREUP specific changes to the inccart.asp as well as the ectcss file. I think I must still be missing something? Maybe there is more code in another file? I have it done on this domain here: https://www.daystarsuspensionparts.com/cart.asp The javascript applies the: style="display: none;" That is generated here: document.getElementById('sq-walletbox').style.display=methods.masterpass||methods.applePay||methods.googlePay?'block':'none';
|
|