Integrate Coinpayments IPN into order process

Dibatalkan Disiarkan 5 tahun lepas Dibayar semasa penghantaran
Dibatalkan Dibayar semasa penghantaran

This project requires the coding of a script that will listen for a Coinpayments IPN (see [login to view URL] for documentation) sent to a URL and on receipt send two emails to separate addresses.

The IPN data looks like this:

ipn_version = '1.0'

ipn_id = 'thes_is_a_secret_string_set_by_the_merchant'

ipn_mode = 'hmac'

merchant = 'this_is_the_merchant_ID'

ipn_type = 'button'

txn_id = 'CPCG2FRT3SO8QNVLIRXXKM9JSD'

status = '100'

status_text = 'Payment Complete.'

currency1 = 'USD'

currency2 = 'BCH'

amount1 = '10'

amount2 = '0.01243'

subtotal = '10'

shipping = '0'

tax = '0'

fee = '6.0E-5'

item_amount = '10'

item_name = 'Securenode'

quantity = '1'

first_name = 'znyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'

last_name = 'Sec'

email = 'customer@[login to view URL]'

received_amount = '0'

received_confirms = '0'

and needs to be repackaged and sent as two emails

Email 1 looks like this (with data nodeStkT & nodeType from first_name & last_name respectively) and can be a JSON file:

To: provider@[login to view URL] (this doesn't change)

{

"order": [

{

"reSeller": "900",

"orderQty": "1",

"nodeCrypto": "zen",

"nodeEnv": "main",

"nodeType": "sec",

"nodeStkT": "znyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",

"status": "order"

},

]

}

Email 2 looks like this (with data 'email' used as to: address and 'first_name' used in body of email). I will need to add formatting and styling to this email:

To: customer@[login to view URL]

Subject: Order complete

Thanks you for ordering your product. Your payment has been received and we will send your product to (znyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy) shortly.

JavaScript MySQL PHP

ID Projek: #17449806

Tentang projek

4 cadangan Projek jarak jauh Aktif 5 tahun lepas

4 pekerja bebas membida secara purata $153 untuk pekerjaan ini

pindianwebhub

Dear hiring manager I have read your description I have experience to deal with blockchain apis So i can deal with your requirement Shall we chat more ? Thanks

$155 AUD dalam 2 hari
(68 Ulasan)
6.5
mvvaghela

I can try for this task if I get opportunity to work with you ... I will try to complete ASAP. please visit my profile and have look about my skills

$155 AUD dalam 3 hari
(35 Ulasan)
5.7
JohnNetworking

I am working as a senior web developer for 3 years. I am sure we will complete ur project successfully. Dont need to worry. You will never waste your time. Thank you

$50 AUD dalam 3 hari
(11 Ulasan)
3.8