11 replies [Last post]
pankaj's picture
Offline
Joined: 10/20/2007
Juice: 25
Was this information Helpful?

hi,

I m using paypal website payment pro gateway

I m getting error as "We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order."

please help me

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: payment gateway

If you're testing an order, try the card number 4111111111111111 and any valid expiration date. It should let it pass.

pankaj's picture
Offline
Joined: 10/20/2007
Juice: 25
payment gateway

after using credit card no 4111111111111111 i m getting same error

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: payment gateway

Are you running on the Sandbox or Live server?

pankaj's picture
Offline
Joined: 10/20/2007
Juice: 25
Re: Re: payment gateway

yes i m working on php 4.how to update it

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: payment gateway

You may need to talk with your host to see if they support it. It may be an issue where they have to do it or where you can adjust your .htaccess file. They should know.

pankaj's picture
Offline
Joined: 10/20/2007
Juice: 25
Re: Re: Re: payment gateway

now i m using it on php5 but credit card is not processing.
It is bringing me to thank you page.
mail is also coming

kerunt's picture
Offline
Bug Finder
Joined: 05/05/2008
Juice: 158
pankaj wrote:now i m using
pankaj wrote:

now i m using it on php5 but credit card is not processing.
It is bringing me to thank you page.
mail is also coming

Don't know how to solve your problem (I'm getting the same error), but the code you posted...

<?php
print_r
($order->payment_details, TRUE);
?>

will not output anything. The second parameter in print_r() is a boolean flag, which, if set to TRUE, will cause the function to return the output rather than displaying it. Since you have no print/echo in front of the function call, the data gets returned to... nothing.

(And yes, I realize this is an old thread.)

pankaj's picture
Offline
Joined: 10/20/2007
Juice: 25
payment gateway

I m running it on live server
I found problem as that in $order array i m not getting payment details value

<?php
  $order
= uc_order_load($order_id);
 
// Now you can access the payment details with $order->payment_details.
 
print_r($order->payment_details, TRUE);
?>

uc_order_load function is succesfuly called but i m not able to print $order->payment_details value

In credit card setting i enable following option

"Attempt to process credit card payments at checkout"
please tell me that is there any other setting that we have to do in "paypal website payment pro"

please help me out

Thanks

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: payment gateway

Maybe update to PHP 5? Are you still running on PHP 4?

pankaj's picture
Offline
Joined: 10/20/2007
Juice: 25
Re: Re: payment gateway

is there any solutions to get it work on php 4?
please help me out

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: payment gateway

Honestly, it was my understanding it was working for PHP 4. This was a months long issue that may still persist in some forms, but I don't plan on addressing it since PHP 5 is a free and available fix for folks that experience this issue.