Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.9 - NEW RELEASE: Ardor 2.0.3e TestNet IS LAUNCHED!

Pages: [1] 2 3 4  All

Author Topic: NXTCS - callback service / payment notifications for deposit processing  (Read 11655 times)

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

Update
Website online: http://www.nxtcs.com/
++++++++++++++++++

hello

i am working on a small, but i think really necessary, project which helps to integrate NXT payments in any website or application without the need to run a own NXT node and checking incoming transactions.
my plan is to copy the functionality of the "blockchain - receive payments API" for NXT
documentation about this is here: https://blockchain.info/api/api_receive

if you want to accept NXT payments and do automatic order processing when you got the payment you have todo the following

  • register your NXT account at my service + a callback URL (no account needed. this will just be an API call)
  • now i am checking every incoming transaction to this account
  • if someone wants to pay with NXT you provide the customer your NXT account + a unique text (some sort of token)
  • your customer sends the coins to your account and he has to attach your unique token as unencrypted message
  • if you get a payment my service will call your callback URL and gives you the amountNQT + the unencrypted message as JSON
  • now you can check your order database and match the order by the provided message from the transaction

this is the best way for deposit processing as described in the nxt integration guide by wesley.
at no time i have access to your funds!

the core system is already working! now i have to make it bullet proof and reliable. for example calling the callback url many times if your server is not available at the payment time.

what do you think about it? any suggestions? looking forward to your comments...
« Last Edit: January 11, 2015, 09:35:32 am by xchrix »

TwinWinNerD

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2012
  • CEO BitPanda.com
    • View Profile
  • Karma: +222/-116

This service will be extremely useful. I am actually suprised nothing like this has been done before.

I think Coinimal could use a service like this! Shoot me a PM :)

Good luck!

JohnHolmes

  • Full Member
  • ***
  • Offline Offline
  • Posts: 133
    • View Profile
  • Karma: +28/-1

hello

i am working on a small, but i think really necessary, project which helps to integrate NXT payments in any website or application without the need to run a own NXT node and checking incoming transactions.
my plan is to copy the functionality of the "blockchain - receive payments API" for NXT
documentation about this is here: https://blockchain.info/api/api_receive

if you want to accept NXT payments and do automatic order processing when you got the payment you have todo the following

  • register your NXT account at my service + a callback URL (no account needed. this will just be an API call)
  • now i am checking every incoming transaction to this account
  • if someone wants to pay with NXT you provide the customer your NXT account + a unique text (some sort of token)
  • your customer sends the coins to your account and he has to attach your unique token as unencrypted message
  • if you get a payment my service will call your callback URL and gives you the amountNQT + the unencrypted message as JSON
  • now you can check your order database and match the order by the provided message from the transaction

this is the best way for deposit processing as described in the nxt integration guide by wesley.
at no time i have access to your funds!

the core system is already working! now i have to make it bullet proof and reliable. for example calling the callback url many times if your server is not available at the payment time.

what do you think about it? any suggestions? looking forward to your comments...

Great idea! Well done

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1610
    • View Profile
  • Karma: +816/-81

  • if someone wants to pay with NXT you provide the customer your NXT account + a unique text (some sort of token)
  • your customer sends the coins to your account and he has to attach your unique token as unencrypted message
In 1.4, there will be a new feature whereby the account owner can specify a regular expression pattern in his AccountInfo, and then transactions sent to this account will be accepted only if they have an unencrypted message attachment with text matching this pattern. This way customers cannot by mistake forget to attach the required token / order id.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

thanks for the info! this is a great feature and will make my service even more useful because i already thought about transactions where the user forgot to add the right message but didnt came to a good solution.

In 1.4, there will be a new feature whereby the account owner can specify a regular expression pattern in his AccountInfo, and then transactions sent to this account will be accepted only if they have an unencrypted message attachment with text matching this pattern. This way customers cannot by mistake forget to attach the required token / order id.

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

NTX is so great! :) i love the website token from NXT. this way the user is able to administrate settings like callback URL but dont has to register an account at my service. no need for that because with the token its verified that its the owner of the account! really great.

btw i thought about changing the name to "NXTCS - callback service" and also do other callbacks. like when a account receives a message. or a order at NXT AE was executed. so many possibilities...

dude

  • Full Member
  • ***
  • Offline Offline
  • Posts: 207
    • View Profile
  • Karma: +44/-5

Great idea, I like your projects, I'm actually using your API (from cryptocoincharts.info) in my own portfolio application.

Hit me up if you need help/testing.

valarmg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1779
    • View Profile
  • Karma: +178/-57
NXT-CSED-4PK5-AR4V-6UB5V

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

first version of the administration website is now online at http://www.nxtcs.com/
you could already sign in with your account token and input a callback script URL
the callbacks aren't working yet and i have to add some more options like
- get unconfirmed transaction callbacks
- get confiremd transaction callbacks
- get secure transaction callbacks (reasonable amount of confirmations)

TwinWinNerD

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2012
  • CEO BitPanda.com
    • View Profile
  • Karma: +222/-116

I am brokering the asset of this project. PM me for an investment opportunity.

msin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1288
    • View Profile
  • Karma: +138/-18

I am brokering the asset of this project. PM me for an investment opportunity.

Meaning what exactly, is the project for sale, or offering partial ownership?

TwinWinNerD

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2012
  • CEO BitPanda.com
    • View Profile
  • Karma: +222/-116

I am brokering the asset of this project. PM me for an investment opportunity.

Meaning what exactly, is the project for sale, or offering partial ownership?

I am raising funds so that the dev can maintain and advance the project. In return you get the corresponding right on dividends. PM me for details (or we can comunicate on slack)
« Last Edit: January 11, 2015, 09:09:03 pm by TwinWinNerD »

whatnxt

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 502
    • View Profile
  • Karma: +48/-8

Hi,
I received your assets. Thanks.

Could you start a thread on the Asset board (https://nxtforum.org/assets-board/) for the asset so we can discuss the asset rather than clogging this thread up with a load of non-tech stuff.

Thanks again
NXT-UAPC-3T43-FFT6-HW5BZ

lucky88888

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 694
  • NXT-E328-UJDF-KTGH-9C6YQ
    • View Profile
  • Karma: +42/-14

interesting.

received a few from supernet divis. could be huge.
NXT-E328-UJDF-KTGH-9C6YQ
8897013707391239174

prometheus

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 430
    • View Profile
  • Karma: +23/-3

Hi,
I received your assets. Thanks.

Could you start a thread on the Asset board (https://nxtforum.org/assets-board/) for the asset so we can discuss the asset rather than clogging this thread up with a load of non-tech stuff.

Thanks again

agree, an assets-board thread would be good. the project looks interesting

is there a plan for generating revenue?
« Last Edit: January 12, 2015, 02:29:47 am by prometheus »

TwinWinNerD

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2012
  • CEO BitPanda.com
    • View Profile
  • Karma: +222/-116

Hi,
I received your assets. Thanks.

Could you start a thread on the Asset board (https://nxtforum.org/assets-board/) for the asset so we can discuss the asset rather than clogging this thread up with a load of non-tech stuff.

Thanks again

agree, an assets-board thread would be good

is there a plan for generating revenue?


xchrix will open up a thread tomorrow.

100% of future profits will be paid to shareholders. The first ~6 months there will be no fees for the service to acquire customers and help the NXT economy (this service helps building many opensource payment plugins ect), after then fees may be charged for business customers and additional services that get added will be easier to monetarize.

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

just a short update on development
i am defining the available notifications. users will be able to choose if they want to get a callback at the following events:

  • Notify me at unconfirmed transactions
  • Notify me at confirmed transactions
  • Notify me at reliable transactions (10+ confirmations)
  • Notify me at irreversible transactions (720+ confirmations)
  • Notify me at permanent transactions (1440+ confirmations)

i researched quite some time for this and i think this are the best options. what do you think about it?

TwinWinNerD

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2012
  • CEO BitPanda.com
    • View Profile
  • Karma: +222/-116

Can you make a combined callback? Like get notified once a transaction is confirmed (then send a confirmation to the customer as a firm) but only make an action after it is reliable confirmed (to send away BTC e.g.)?

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

yes of course! all options are checkboxes. the user is able to define any constellation of the options. for example get callbacks and unconfirmed and reliable transactions. then you will get two callbacks for the same transactions when the events happen. in the JSON data you get the number of confirmations and the status "unconfirmed", "confirmed", "reliable", "irreversible" or "permanent"

this way its easy possible to show a message when you get an unconfirmed transaction ("thanks for sending your NXT to us") and do a business action and reliable transaction ("we got your coins.. doing stuff now")
Pages: [1] 2 3 4  All