Jump to content

Redirect to another payment gateway website on click of checkout button

Recommended Posts

Site URL: https://www.brookevulinovich.com/

Hi there,

I want to be able to add products to cart and then on click of the checkout button within the cart page (prior to proceeding to the checkout page), i want to be able to redirect to another website (SamCart payment gateway). Example of page I am referring to attached.

Can anyone please advise how i can target this button to redirect?

Screen Shot 2021-01-27 at 11.15.55 am.png

Link to comment

The redirection part is relatively easy. The hard part in my mind is just going to a link is not going to cut it.

Some form of information needs to be transmitted to the payment gateway. And if you want to keep track of orders in SS then turning the cart info into an actual order will need to be created. The SS Order API may be of help here.

Also upon redirect the cart will still be sitting there on the SS site. Ideally some kind of clean up will take place at some point.

There are some serious questions that need to be answered. How will you know an order is made? How will the customer be notified of their purchase? The API may handle part of that. I've not worked with the particular API.

Does SamCart have some kind of API?

I'm not saying that something couldn't be cooked up but it will take some serious coding.

Is there some reason SS payment processing options, aren't an option? With Stripe and PayPal as payment processors they have pretty good coverage. In other words many of your customer can pay with one or the other.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
  • 1 year later...

HI Creedon, 

I am facing the same issue and have been thinking of redirecting to a payment page from Squarespace cart. I am not able to use Stipe and Paypal since both are not tailored for Indian customers and two major Indian payment methods (UPI and Internet banking) are absent.
The questions you have raised are my concerns too. I want to use Razorpay payment gateway for the checkout. Razorpay has an API, will that help in my case? 

Link to comment
4 hours ago, Akhil said:

I am facing the same issue and have been thinking of redirecting to a payment page from Squarespace cart.

Squarespace does not integrate with third party payment APIs.

This means that you will not be able to connect to an alternative payment gateway like Razorpay.

If you cannot use Stripe or PayPal, you will need to use an alternative commerce platform or compromise by using buy buttons, like those available from Shopify or Ecwid.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment
1 hour ago, Akhil said:

Can I use a platform like Zapier to fix the issue?

No, you will not be able to use Squarespace Commerce with major Indian payment methods.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.