saleor-storefront icon indicating copy to clipboard operation
saleor-storefront copied to clipboard

Added a custom payment gateway not showing in frontend

Open nikolas-dev opened this issue 4 years ago • 5 comments

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

nikolas-dev avatar Dec 09 '20 07:12 nikolas-dev

@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.

karolkielecki avatar Dec 10 '20 09:12 karolkielecki

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.

stale[bot] avatar Feb 13 '21 07:02 stale[bot]

@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.

BerNarDoMelow avatar Feb 15 '21 13:02 BerNarDoMelow

Did you checked if gateway is available in the API?

krzysztofwolski avatar Apr 06 '21 13:04 krzysztofwolski

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.

AndreMPCosta avatar Apr 16 '21 11:04 AndreMPCosta