Skip to content

Instantly share code, notes, and snippets.

@shanwixcode
Last active June 28, 2020 04:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shanwixcode/a2189cd1e1d1e39aeefce221895f099c to your computer and use it in GitHub Desktop.
import wixPay from 'wix-pay-backend';
export function createMyPayment(products, amt, cry) {
return wixPay.createPayment({
items: products,
amount: amt,
currency: cry
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment