Solved

Error in CreateRecurringPaymentProfile PHP

Posted on 2008-10-18
2
666 Views
Last Modified: 2013-12-13
I have used these data.

 

TOKEN=EC-5A583659CJ523403M

AMT=1.00

CURRENCYCODE=USD

PROFILESTARTDATE=2008-10-18T17%3A42%3A14Z

BILLINGPERIOD=Day

BILLINGFREQUENCY=1

DESC=Test

 

I am getting an error like this CreateRecurringPaymentsProfile failed: Array ( [TIMESTAMP] => 2008%2d10%2d18T13%3a57%3a47Z [CORRELATIONID] => cfb59cb4a8da6 [ACK] => Failure [VERSION] => 51%2e0 [BUILD] => 729241 [L_ERRORCODE0] => 11581 [L_SHORTMESSAGE0] => Invalid%20Data [L_LONGMESSAGE0] => Profile%20description%20is%20invalid [L_SEVERITYCODE0] => Error )

 

Please help me out to solve this.

 

Thanks a lot.

0
Comment
Question by:sastry_hora
2 Comments
 
LVL 13

Accepted Solution

by:
AielloJ earned 500 total points
ID: 22749001
sastry_hora:

The looks like it was received attached to a URL similar to a GET type post.  The %3A strings look like the url encoded colon ':' characters.  Try using the urldecode like this:

  PROFILESTARTDATE= urldecode("2008-10-18T17%3A42%3A14Z");

urldecode restores the original string value prior to the urlencode function the data was probably formatted with.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now