Bitcoin Forum
May 22, 2019, 08:10:03 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the logic in making a Payment Processor?  (Read 238 times)
Enre
Sr. Member
****
Online Online

Activity: 610
Merit: 256


ICO Accelerator & Consultant


View Profile
June 19, 2017, 05:07:43 PM
 #1

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?
1558512603
Hero Member
*
Offline Offline

Posts: 1558512603

View Profile Personal Message (Offline)

Ignore
1558512603
Reply with quote  #2

1558512603
Report to moderator
1558512603
Hero Member
*
Offline Offline

Posts: 1558512603

View Profile Personal Message (Offline)

Ignore
1558512603
Reply with quote  #2

1558512603
Report to moderator
1558512603
Hero Member
*
Offline Offline

Posts: 1558512603

View Profile Personal Message (Offline)

Ignore
1558512603
Reply with quote  #2

1558512603
Report to moderator
BITDEER BTC/BCH ETH LTC ZEC DASH START MINING BTC NOW
WITH NEW GENERATION S17 ANTMINER!
Highly Reduced Electricity Fee $0.067/T/DAY! GET STARTED
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1558512603
Hero Member
*
Offline Offline

Posts: 1558512603

View Profile Personal Message (Offline)

Ignore
1558512603
Reply with quote  #2

1558512603
Report to moderator
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 1218
Merit: 1198


Hand over the Merit and no one will get hurt!


View Profile
June 19, 2017, 06:14:35 PM
 #2

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.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
Enre
Sr. Member
****
Online Online

Activity: 610
Merit: 256


ICO Accelerator & Consultant


View Profile
June 20, 2017, 01:25:06 AM
 #3

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
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 1218
Merit: 1198


Hand over the Merit and no one will get hurt!


View Profile
June 20, 2017, 03:34:47 PM
 #4

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.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!