For
this week, there was no much programming on Thrill Jockey project, what we did
was to finish a proposal with the stories that we know that are missing on that
project, so that we can go faster instead of be waiting for the to write one.
Moreover we had a meeting, and we got an agreement, we are not going to do
anything until we got an approval from them and from a guy that built part of
the current site.
So,
that week on TJ I did the set up of the payment gateways Paypal y First Data. I
did not use the paypal set up that spree provides because it did not work.
After a research I did I found a gem called Paypal Express, so I learnt about
the set up of that payment gateway, I created a sandbox and test accounts to be
able to do purchases with this payment gateway.
On
the other hand for First Data the set up was really easy, I used the one that
spree provides, the challenge here was to create a test account, because for
this we need to get a store number, a PEM that is a private key and also a tax
id.
Because
I finished that on Tuesday, on Wednesday I did pairing with a coworker, and we
were working on tests with rspec. I did the firsts real tests to models. So for
this week I learnt about payment gateways configuration and started with tests
on rspec. With the payment gateways is really important to know how to set them
and which to use, we are talking about money so we need to be sure that we have
the highest security on this. And for rspec, it is a good habit that I need to
acquire, tests can benefit a lot, for multiple reasons some of them are: you
just code what you need, if you make a change on some part of the code, if you
run the test suite you can check if the behavior in some part was change it and
we can prevent future bugs.
No hay comentarios:
Publicar un comentario