Solved

Error in CreateRecurringPaymentProfile PHP

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

706 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

12 Experts available now in Live!

Get 1:1 Help Now