?
Solved

Error in CreateRecurringPaymentProfile PHP

Posted on 2008-10-18
2
Medium Priority
?
679 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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.
Suggested Courses

771 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