Solved

Error in CreateRecurringPaymentProfile PHP

Posted on 2008-10-18
2
674 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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…
The viewer will learn how to count occurrences of each item in an array.

688 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