Bitcoin Forum
December 15, 2024, 07:27:32 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: IPN not working  (Read 456 times)
slayerking (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 15, 2013, 10:02:58 AM
Last edit: December 15, 2013, 10:45:21 AM by slayerking
 #1

Hello,
I am currently working with mtgox api v1 to integrate into my client site but the IPN system is not working. It is not being called by the system when i cancel orders.

The orders are created successfully and payment url works as well but i am experiencing problem with ipn at Mtgox

Here is the code what i post to url

Quote
$requestData = array(
'amount'            => $order->order_total,
'currency'          => $currency,
'description'       => $this->settings['pay_desc'],
'data'               => $order_id,
'return_success' => add_query_arg( 'utm_nooverride', '1', $this->get_return_url( $order ) ),
'return_failure'   => $order->get_cancel_order_url(),
'ipn'                 =>  $notificationURL,
'autosell'           => ($this->settings['autosell'] == 'yes') ? 1 : 0,
'email'               => ($this->settings['autoemail']== 'yes') ? 1 : 0,
'instant_only'     => ($this->settings['instant_only']== 'yes') ? 1 : 0,
);   

The results are like below

Quote
   Array
(
    [result] => success
    [data] => Array
        (
            [transaction]  => 77d9058b-3b07-4d2c-8b9b-799f807e6690
            [payment_url] => https://payment.mtgox.com/77d9058b-3b07-4d2c-8b9b-799f807e6690
        )

)

When I cancel order the return url works as well but the ipn doesn't work.

Any thing i am missing here ?

Plz help me as i have mailed mtgox as well but no response from any of their email id. I even messaged it on their facebook page but this these guys are like statues (no response at all)
slayerking (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 15, 2013, 11:00:01 AM
 #2

Anybody here who can help me  Huh
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!