Paypal subscription issue

Permalink Browser Info Environment
I own a license for this component and wanted to submit a ticket but was only offered the discussion option. Please let me know how to submit a formal ticket. Meanwhile problem is this.

A simple form with open payment amount returns this error from PayPal:

Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.

This should not apply since the payment is for a one time donation and not a subscription at all. I did not see any way to specify this on the form settings.

Type: Discussion
Status: In Progress
tsorelle
View Replies:
phatworks replied on at Permalink Reply
phatworks
Hi, would you mind PM'ing me a login to see/edit a demo page?
tsorelle replied on at Permalink Reply
tsorelle
Sorry, what does PM'ing mean? Do you mean our admin login?
mamabear replied on at Permalink Reply
mamabear
PM'ing means "private message" me.
tsorelle replied on at Permalink Reply
tsorelle
Extremely frustrated with your lack of response. I inherited this site from a previous admin who installed the component and I may be missing some information. Your response of PM means "private message" is not helpful. Does "private message" refer to a feature on the support site? How do I do it. Should I submit my requests in another fashion? What am I supposed to do here!

(Duplicating this post in case I am replying in the wrong place)
tsorelle replied on at Permalink Reply 1 Attachment
tsorelle
I'm experiencing an additional problem. Some forms succeed in forwarding to PayPal but do not add the submission to the database or send emails. I sent up an additional test for to test this. It is set to sandbox mode. http://aftm.us/testpage

Attached screen shot file to demonstrate settings.
tsorelle replied on at Permalink Reply
tsorelle
Having checked the database I see that the form information is added to the tables. But they will not display on the report page.
tsorelle replied on at Permalink Reply
tsorelle
Still awaiting your reply to my posts.
tsorelle replied on at Permalink Reply
tsorelle
Extremely frustrated with your lack of response. I inherited this site from a previous admin who installed the component and I may be missing some information. Your response of PM means "private message" is not helpful. Does "private message" refer to a feature on the support site? How do I do it. Should I submit my requests in another fashion? What am I supposed to do here!
tsorelle replied on at Permalink Reply
tsorelle
I resolved this issue myself with considerable debugging efforts.

The problem we were experiencing in the ipn_listener.php script was due to the incorrect use of the mysql_real_escape_string() function.

Example:
mysql_real_escape_string(trim($receiver_email))

Fix:
$link = mysql_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
mysql_real_escape_string(trim($receiver_email),$link);

The first example was failing with a database connection error because, without the second parameter it was using default credentials to attempt the connection. In our case these default credentials were no longer valid,

See description of link_identifier parameter inhttp://php.net/manual/en/function.mysql-real-escape-string.php...

I am not really comfortable with this fix since the mysql_real_escape_string is now deprecated in PHP. I'm also unsure about the security of referencing the database constants in a /tools script. If you can recommend a better solution, please do.

This accounts for the database issues. I'm still looking at the 'subscription' issue, which may be unrelated. If I have further issues with that I'll open a new thread.

concrete5 Environment Information

# concrete5 Version
5.6.3.4

# concrete5 Packages
Autonav Exclude Subpages (1.2), Content Around Image (1.23), creativity theme (1.2), Cu3er Slideshow (1.2), Ecommerce Express (1.5.9), Flickrcrete (1.0.8), Flickr Photos (1.2.1), Forms With PayPal Payment (2.0.6), Galleria image gallery (2.0), Global Areas (1.0), Google Docs Viewer (1.0), Google Picasa Albums (2.5.2), googlesearch (1.1), Image Banner (0.9.3), Music (1.0.4), Sortable Fancybox Gallery (1.17), Superfish (1.1.5), tnSpacer (1.3), Tweeter (1.0.13).

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.3.29

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, suhosin, tokenizer, xml, xmlreader, xmlwriter, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.