Jump to content

Square Payments


Recommended Posts

I have the problem where GPay and Apple Pay don't actually show?  I seen wigtastic mention the same thing.  I have this problem on both installs I have of cubecart/square.  Does anyone else get this and is so a solution?

EDIT:
Just wanted to add that this problem is on a fresh install of CubeCart and on an old one. I have included a picture to show what I mean. I have gone through everything I can find on the Square Developer and set everything up that I can. Would love to get this working on both my installs!

example.png

Edited by Robert C
Adding more Info
Link to comment
Share on other sites

  • 7 months later...

  • 2 weeks later...
On 4/1/2021 at 10:01 PM, Tony said:

Do you have a link to it about the new requirements?

Hi,

I got an email from Square about new EEA (European Economic Area) Strong Customer Authentication (SCA).

Quote

Currently, when paying online, customers must enter their card number, expiry, CVV, and postal code to make a payment. When SCA enforcement begins, customers will be required to complete two of the three factors of authentication when initiating a payment: something you know, something you own, something you are. For online card payments, the SCA requirements are met by implementing 3D-Secure. For in-store payments, SCA requirements are met through use of chip & PIN or mobile wallets. Payments without this additional authentication will be declined by the cardholder’s bank.

What is SCA Compliance?

As part of SCA compliance, all businesses that offer online card payments on their website or app (including Invoices) must use at least two methods of authentication to verify payments. This is intended to enhance the security of electronic payments and limit fraud during the checkout.

SCA compliance is a requirement of the second Payment Service Directive (PSD2) as proposed by the European Commission, managed by the Financial Conduct Authority (FCA) in the UK. Get helpful information and learn more on the FCA website, UK Finance website, and Square’s FAQ page. If you need further help, speak with our Engineering teams on Square’s Developer Forums.

SCA enforcement begins 1st May in the UK.

Here's the link they referred to in my email.

https://developer.squareup.com/docs/sca-overview

Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...
  • 4 weeks later...
  • 2 months later...

Not that I have a solution, but the info I read simply asserted that a setting in your merchant settings at Square - the 'redirect URL - needed to match what the payment module was sending.

I don't know what the payment module is sending, but it should be more than just your basic web address -- which might be all that your merchant settings screen at Square has.

Can you verify that your "Dashboard"(?) at Square has what might look like a complete URL that includes your Client ID, some other stuff, and a reference to the redirect URL?

 

 

Link to comment
Share on other sites

1 hour ago, bsmither said:

Not that I have a solution, but the info I read simply asserted that a setting in your merchant settings at Square - the 'redirect URL - needed to match what the payment module was sending.

I don't know what the payment module is sending, but it should be more than just your basic web address -- which might be all that your merchant settings screen at Square has.

Can you verify that your "Dashboard"(?) at Square has what might look like a complete URL that includes your Client ID, some other stuff, and a reference to the redirect URL?

 

 

Thanks for the reply.

 

Yes thats the information I think I am missing in my Square dashboard, but where do I find that "redirect URL" so I can fill it in?

 

 

Link to comment
Share on other sites

Can anyone that uses this module give me a clue as to what to enter in the "Production Redirect URL" in my Square Dev dashboard.

I don't have anything in mine and it's worked for the last 2 years but now they clearly want something in there and I don't know where to look to find it.

Link to comment
Share on other sites

In the Square Dev Dashboard, the Redirect URL is referencing the OAUTH section? Is this correct?

I am also seeing code in the Square javascript that is powering the card entry form that generates a "card_nonce' value. Square sends this value back, but there is no code in CubeCart's core code that will pass it to the Square module's Gateway->process($nonce) function.

So, even if the following URL is what is needed, without catching that code, Square may still complain about something.

https://www.mystore.com/index.php?_g=remote&type=gateway&cmd=process&module=Square

 

Link to comment
Share on other sites

1 hour ago, bsmither said:

In the Square Dev Dashboard, the Redirect URL is referencing the OAUTH section? Is this correct?

I am also seeing code in the Square javascript that is powering the card entry form that generates a "card_nonce' value. Square sends this value back, but there is no code in CubeCart's core code that will pass it to the Square module's Gateway->process($nonce) function.

So, even if the following URL is what is needed, without catching that code, Square may still complain about something.

https://www.mystore.com/index.php?_g=remote&type=gateway&cmd=process&module=Square

 

I am totally lost when it comes to these things.

There is a section in the Square guide page that refers to "Create the Redirect URL" but doesnt actually tell you whats needed other than "In the Redirect URL box, enter the URL that redirects the seller authorization to your production application.".

 

I thought that if someone that actually uses the module could see what they have in their URL I could adapt it for my use.

When I googled the problem I did get an old page up that I think was referring to an older version of cubecart or square module because it had an instruction to copy the redirect URL from the module and paste it into the square dev dashboard.

thanks for your reply though. :)

Link to comment
Share on other sites

Try this:

https://www.mystore.com/index.php?_g=remote&type=gateway&cmd=form&module=Square

This will have Square's callback be to the Square module, but run the form() function.

The form() function looks for the presence of the 'nonce' value in Square's callback POST payload, and if found, will pass program execution to the process($nonce) function.

This is where we want to be when at the next to the last step in making payment.

The last step, if there are no errors, is to send the customer to CubeCart's 'Payment Complete' page.

Link to comment
Share on other sites

On 3/13/2022 at 12:15 AM, bsmither said:

Try this:

https://www.mystore.com/index.php?_g=remote&type=gateway&cmd=form&module=Square

This will have Square's callback be to the Square module, but run the form() function.

The form() function looks for the presence of the 'nonce' value in Square's callback POST payload, and if found, will pass program execution to the process($nonce) function.

This is where we want to be when at the next to the last step in making payment.

The last step, if there are no errors, is to send the customer to CubeCart's 'Payment Complete' page.

Hi

 

Thank you for trying but that didnt work, card are still being declined, but not all cards.

Link to comment
Share on other sites

Hi,

 

This is a portion of the email Square sent out.

It is the "https://example.com/oauth-redirect" that is what I cannot find.

 

Quote

Current State Example

If the redirect URL in the Developer Dashboard is configured to: https://example.com/

And the redirect_uri parameter in the authorization request is: https://connect.squareup.com/oauth2/authorize?client_id=abcd-1234-zyxw&scope=PAYMENTS_READ&redirect_uri=https://example.com/oauth-redirect

Then the request succeeds because the first part of the redirect_uri parameter matches the configured redirect URL.

After February 14th, 2022, the redirect URL sent in the authorization request must exactly match the redirect URL in the Developer Dashboard or it will error.

Exact Match Example

If the redirect_uri parameter in the authorization request is:

https://connect.squareup.com/oauth2/authorize?client_id=abcd-1234-zyxw&scope=PAYMENTS_READ&redirect_uri=https://example.com/oauth-redirect

Then the redirect URl in the Developer Dashboard must be configured to:

https://example.com/oauth-redirect

To prepare for this change, you need to update the Developer Dashboard to match the URL in the authorization request.

 

Link to comment
Share on other sites

Does anyone know how the square gateway handles the new banking requirements for Strong Customer Authentication (SCA) here in the UK. Does the module need to be updated?

 

In an email from my bank it says retailers have to be ready for this change or customers may have their cards declined.

Link to comment
Share on other sites

  • 2 weeks later...
8 hours ago, Starlight-Shoes said:

Does Square work, I have made a payment but keeps saying declined and that's with ver 1.1.7

Few customers are having same issue mastercard works ok but debit card saying declined.

Cheers

Square does work but the banks have put in place new security measures which is having an affect on which cards are declined.

I have had many customers cards declined using credit or debit cards both mastercard and visa, but quite a few are still working.

I think it's also related to the email Square sent out last year and also this year regarding setting the "Redirect URL" in the dashboard. They did say if it isnt set correctly cards will be declined.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
On 4/8/2022 at 8:04 AM, captinmax said:

Thank you for the update to this module.

Unfortunately it does not help me because you are now charging for the module and I cannot buy it as I do not have a working paypal account and cannot get one.

Is there any way to pay without using paypal?

 

 

Click on PayPal and then pick pay by card. This way you can buy it without signing up for an PayPal account.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...