Can I create google pay button by using Velo by Wix?

I’m searching a way to use google pay in a wix web site.
I found information that google pay is not supported as a standard payment method,
but I couldn’t find out if it is possible to implement google pay button by Velo by Wix.
Is it possible?
Thanks in advance.

You can Show your QR Code There. As Image.

  1. Take Screenshot.

  2. Crop Only The Required Portions

  3. Upload and Use that.

Install the NPM for it into your Wix-Editor —> @ google - pay /button-react . . .
. . . and read all the stuff. . .

. . .or take Muthu’s suggestion.

Thank you for your reply. I’ll take your solution if I can’t find a way to implement a button.

Thank you for your information. It seems exactly what I was looking for.

And excuse me for my rudimentary question, but I have another problem.

I’ve installed @google-pay/button-react package into my wix site,

and I pasted the jsfiddle code of your @google-pay/button-react solution to my wix site’ code area as follows:


$w.onReady(function () {
  
  function App() {
  ....
  ReactDOM.render(<App />, document.querySelector("#app"))
  
}
then I got an error at the first "greater than" character of div element.

It says “Parsing Error : unexpected token <”


return (
   <div className="buttons">

Also, I installed react package, used babel compiler and tried the non-jsx code,

but then error occured. "React” and “ReactDOM” is not defined.

How can I fix it?

@cbe17741
Not sure if this can work… (no DOM-ACCESS).

$w.onReady(function () {
  
  function App() {
  ....
  ReactDOM.render(<App />, document.querySelector("#app"))
  
}

Perhaps this can work with an HTML-Component / iFrame

Perhaps Yisrael, J.D. or Ahmad can help you out.