Custom payment button

Hi All

Real noob here, I just started to use Wix and i love the shop setup but is it possible to say add a hidden page which just has 2 fields.

invoice No ___
Amount to Pay ____

Then have a paypal and strip button to then take a custom amount?

Many Thanks

Hi,
I’m not sure that I fully understand what you were referring. Do you have a screenshot as an example?

Thanks,
Tal.

hey, i m himanshu kashyap from india i loloved evwrything about wix but the only thing is payment option in india the highest payment transactions are done through #PAYTM( payment gateway) and wix.com havent provided #Paytm For Payment option . please provide it or provide custom payment … or else u have to shift to sime other website builder

or else i have to *

uh can even search on web . Paytm is the biggest platform in india for payments but still u r hanging on paypal yet. plss provided de it immediety me and many peoples from india want paytm as payment option in wix. plss provide it immedietly or provide custom payment option via coding so that we can put paytm as payment option

Hi,
I’m working in Jordan and I have the same problem, I want to add a custom payment gateway.
I read that “wix stores is now part of wix code” (https://www.wix.com/code/home/forum/product-updates/wix-stores-is-now-part-of-wix-code)
I tested the code but it doesn’t work

$w(‘#productPage1’).getProduct()
.then( (product) => {
let productName = product.name;
let productDescription = product.description;
// see example product object below
$w(‘#text59’).text=“”+productName;
} )
. catch ( (error) => {
console.log(error);
} );

the error is ‘getProduct’ does not exist on ‘#productPage1

I think if this code runs well, we can get product price and add a custom checkout button

Sounds like $w didn’t select the product page.
Can you please verify that you write the code in the product page and that the product page id is correct(and there are no spelling mistakes)?

Hope this will fix it for you.

Thank you Eddie for your help.
kindly note that I use suggested menu by wixcode editor to select product page id, so I think there are no spelling mistakes. but when I continue the editor doesn’t suggest getProduct function at all.