Solved

Error in CreateRecurringPaymentProfile PHP

Posted on 2008-10-18
2
667 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

773 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