Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment Gateways (Questions) #2

Closed
kalicki opened this issue Sep 6, 2016 · 4 comments
Closed

Payment Gateways (Questions) #2

kalicki opened this issue Sep 6, 2016 · 4 comments

Comments

@kalicki
Copy link

kalicki commented Sep 6, 2016

Oi!
Vou falar em Português (BR). Primeiramente, parabéns! Ótimo projeto, acredito que pode evoluir para uma API-as-a-Service baseado na "nuvem" :)

Desculpar expor essa dúvida aqui, mas tentei achar seu email para enviar e discutir esse projeto, mas não achei :/

Existe pré integração com algum gateway de pagamento?
Gostaria de saber de entender a integração com meios de pagamentos, seria viável criar componentes para cada tipo de pagamento?

*Te pergunto isso pois não explorei.
Obrigado!

@andrecrt andrecrt changed the title Questions Questions (Payment Gateways) Sep 6, 2016
@andrecrt andrecrt changed the title Questions (Payment Gateways) Payment Gateways (Questions) Sep 6, 2016
@andrecrt
Copy link
Member

andrecrt commented Sep 6, 2016

Hi @kalicki,

First of all, thank you for your support... looking forward for your feedback!

I'll answer in English so that it may be of use for people facing the same issue/question in the future, hope you don't mind :)

First of all, you can reach me via email andre [at] yoonic.net. Perhaps I'll add it to the README along with my Twitter handle @andreftavares.

Next, your question was regarding Payment Gateways and if Storefront/Atlas had any existing integration and the answer is... yes :) Switch Payments which is an awesome startup that, with a single integration, allows you to accept not only card payments, but also dozens of local payments (e.g. Boleto in Brazil) and even PayPal! (disclaimer: I'm a co-founder :p)

In regards to integrating other gateways, I think it should be fairly simple and you can use Switch's integration as a guideline. I'll post bellow links to Github with all the places you would need to put your code... you'll see that there are very few in both Storefront and Atlas.

Storefront

  1. When creating a new Checkout, query Gateway for available payment methods
  2. When finishing a Checkout and creating respective Order, create charge using data provided by the customer

Atlas

In Atlas you just need to create an API endpoint for the events webhook that will be notified during the payment lifecycle and act accordingly (e.g. confirm a charge, change order status when payment is successful, etc)

Easy as pie! :) Hope it helps!

@kalicki
Copy link
Author

kalicki commented Sep 6, 2016

Hey, amazing....

I talked to the support/commercial Switch Payments, but they replied that they are not supported by Brazil currently, only next year... :(

@andrecrt
Copy link
Member

andrecrt commented Sep 6, 2016

Oh, that's unfortunate :(

In the meantime, if you make any other integration that think would be useful for someone else, I would be very happy to merge any pull request :)

And again... all feedback is welcome!

@kalicki
Copy link
Author

kalicki commented Sep 6, 2016

Yeah ;(

If it works with PayPal. It's a "breakthrough", but it's not PayPal Plus (checkout transparent)? Is the express checkout, right?

OFF: For transactional emails www.sparkpost.com 👍 100.000 free

@andrecrt andrecrt closed this as completed Sep 6, 2016
This was referenced Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants