After my finals i started work on my project again. I had to start late because of my finals and now i'll try to close the gap.
Last week i think i can manage to write Django-payments GNU Taler module first but now i realize that can't be possible because if i can't test what i do it won't go to a point. So i start with installing Saleor on my local machine to test my work at projects goal store.
Installation progress of Saleor explained at documentation which they wrote. I installed and run Saleor on my localhost on Debian Sid, Webpack and Nodejs versions can be tricky you must be careful about them :) . For next step i look other payment options and what they do on Django-payments. Try them with Saleor :
I manage to find out at forms of payments and variants of payments came from Django-Payments payment module's init.py documents. They use a template for methods on init.py documents, they are explained at Django-payments documentation also. Methods which they use at template are :
- get_form method: Takes the from forms.py and show to front-end.
- process_data method: Processing data to send to backend.
- capture method: Capturing the payment which have preauth status.
- release method: Release the payment which have preauth status.
- refund method: Refund procces of selected payment.
For using this methods firstly i start to write a form for payment proccess on GNU Taler. This form using to show customers what will they pay and data of this form will used at init document. I study GNU Taler space document to understand which datas will i need to complete payment process.
I look at Dummyprovider class on Django-payments module and now i am trying to implement tutorial to my Talerprovider class.