Bitcoin Forum

Bitcoin => Project Development => Topic started by: Enre on June 19, 2017, 05:07:43 PM



Title: What is the logic in making a Payment Processor?
Post by: Enre on June 19, 2017, 05:07:43 PM
So I was trying to make a payment processor from scratch.. I don't really know how to use wallet RPC, so instead here's my thought process:

1. Checkout (1$)
2. Get market data and convert to coin
3. Get Wallet and coin amount required
4. using async wait for change in wallet
5. when change is seen stop loop

Providing that I used Python, asyncio and Flask/Django for this, would this be a viable process?
And how would you go about in this?


Title: Re: What is the logic in making a Payment Processor?
Post by: Joel_Jantsen on June 19, 2017, 06:14:35 PM
So I was trying to make a payment processor from scratch.. I don't really know how to use wallet RPC, so instead here's my thought process:
Just Payment ? You need more,generate addresses.Check double spend etc.

--snipe--
Providing that I used Python, asyncio and Flask/Django for this, would this be a viable process?
And how would you go about in this?
Avoid all the trouble,stop complicating it.If you really don't know how to use wallet RPC and you want to start it from scratch,well you need to learn RPC's.Or you can just use one of the available third party libraries.


Title: Re: What is the logic in making a Payment Processor?
Post by: Enre on June 20, 2017, 01:25:06 AM
So I was trying to make a payment processor from scratch.. I don't really know how to use wallet RPC, so instead here's my thought process:
Just Payment ? You need more,generate addresses.Check double spend etc.

--snipe--
Providing that I used Python, asyncio and Flask/Django for this, would this be a viable process?
And how would you go about in this?
Avoid all the trouble,stop complicating it.If you really don't know how to use wallet RPC and you want to start it from scratch,well you need to learn RPC's.Or you can just use one of the available third party libraries.

Im not complicating things by using Flask or Django.. its meant to be part of an app.
However i agree that i need to learn RPC, but for coins like Steem its different, and with different coins have different RPC as well

Hmm


Title: Re: What is the logic in making a Payment Processor?
Post by: Joel_Jantsen on June 20, 2017, 03:34:47 PM
Im not complicating things by using Flask or Django.. its meant to be part of an app.
However i agree that i need to learn RPC, but for coins like Steem its different, and with different coins have different RPC as well
Every coin has a different API and different ways of accessing the main chain.Apart from bitcoin,I've seen other coins providing much easier libraries to handle their transactions.Not sure about steem though.