Jump to content


Photo

Own nexus gateway ?


  • Please log in to reply
6 replies to this topic

#1 Dawid Agro

Dawid Agro

    IPB Newbie

  • +Clients
  • 27 posts

Posted 10 July 2012 - 06:52 AM

Hello,
I have created custom payment with "wirtual currency". When user pay with this gateway in method public function validatePayment() I return

return array( $this->request[ 'transid' ], "okay", "Pobrano odpowiednią ilość punktów z konta klienta" );

and nexus return error: There was a problem with your payment. Please try again." (checkout_error). I check detail of transaction in ACP and I have error err_naughty_gateway but I don't know what that means. Transaction have status
Failed: The transaction was unsuccessful. (tstatus_desc_fail).

What is wrong with gateway ?

IPS Support says:

I'm very sorry but this is not an issue we can help with via the ticket system.


:/

#2 sijad

sijad

    😜🌹

  • +Clients
  • 1,026 posts

Posted 10 July 2012 - 08:32 AM

Can you show me example page of that wirtual currency gateway in PHP

Browse Files  👾  SKINOD

I understand how, i can't understand why


#3 Dawid Agro

Dawid Agro

    IPB Newbie

  • +Clients
  • 27 posts

Posted 12 July 2012 - 02:49 AM

I created a gateway that does nothing :) Only get your wirtual money (points)

#4 Mark

Mark

    I dropped the "iggy"

  • IPS Staff
  • 8,383 posts

Posted 12 July 2012 - 08:43 AM

Oops - seems that documentation is out of date.

return array( 'status' => "okay", 'amount' => X, 'note' => "Pobrano odpowiednią ilość punktów z konta klienta" );

Mark Wade
Developer

zce-php5-3-logo.gif php5-zce-logo-new.gif


#5 Dawid Agro

Dawid Agro

    IPB Newbie

  • +Clients
  • 27 posts

Posted 12 July 2012 - 08:58 AM

Thanks. Please remember about update documentation everytime when you update something in nexus...

#6 Stanislav-123

Stanislav-123

    IPB Newbie

  • Members
  • Pip
  • 7 posts

Posted 21 November 2012 - 09:30 AM

Also had this issue after updating to Nexus 1.5.4

 

Marks solutions solved my problem, here is the updated documentations page:

http://community.inv...nt-gateway-r129



#7 Farid Najafloo

Farid Najafloo

    IPB Newbie

  • Visitors
  • Pip
  • 4 posts

Posted 06 June 2013 - 12:49 AM

hi,

I have created custom payment and all is ok, but there are problem after customer payment and redirecting to my site

this redirection is needed for verfy payment

current callback url is:

$callBackUrl =$this->settings['board_url'].
		'/index.php?app=nexus&module=payments&section=receive&do=validate&method_id='.
		$method_id.'&invoice='.$invoice_id.'&transid='.$trans_id;

Error:

Could not locate invoice.

 

note: transid that that provided in paysceen runtime is not exist in database yet (will be created after verify(redirecting))!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users