saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
769 stars 674 forks source link

Added a custom payment gateway not showing in frontend #964

Open nikolas-dev opened 3 years ago

nikolas-dev commented 3 years ago

I've added a custom payment gateway. Backend all ok and active. But in checkout gateway is not showing

karolkielecki commented 3 years ago

@nikolas310 Hi there! Did you prepare your storefront for a new payment gateway? If not, you can find more info on how to modify your storefront under this Spectrum thread.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

BerNarDoMelow commented 3 years ago

@nikolas310 Hi there! Were u able to solve this problem? Im stuck at this for about a week. All the help is precious.

Btw I did everything mentioned in the readme and still, the gateway does not appear.

krzysztofwolski commented 3 years ago

Did you checked if gateway is available in the API?

AndreMPCosta commented 3 years ago

I'm also having problems:

saleor-storefront/src/core/config.ts - Add new gateway provider name here.
saleor-storefront/src/@next/components/organisms/ - Create a new folder for new payment gateway component here.
saleor-storefront/src/@next/components/organisms/PaymentGatewaysList/PaymentGatewaysList.tsx - Import new gateway component, create a new switch case to handle your gateway component.

I'm trying to clone the DummyPayment Gateway just for testing purposes and I'm not able to do it. It would be nice to have a guide or something as how to add a new payment gateway on the frontend.