Sign in to follow this  
Followers 0

Own nexus gateway ?

7 posts in this topic

Posted

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



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:


:/

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

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

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

Oops - seems that documentation is out of date.

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

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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))!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Who's Browsing   0 members

    No registered users viewing this page.