Results 1 to 2 of 2

Thread: Resume subscription - Paypal payment bug

  1. #1
    Thread Starter
    Junior Member avincom's Avatar
    Join Date
    Mar 2011
    Location
    France
    Posts
    46
    Thanks
    4
    Thanked 20 Times in 15 Posts

    Resume subscription - Paypal payment bug

    Problem with Resume Access Subscription - The admin has activated the Manual Paypal Payment in the back-end.

    The user is sent to Paypal but the payment fails because several items of the command line are not properly url-encoded.

    Problem lies in the file includes/gateways/paypal.php around line 199.

    // Params needing url encoding
    $url_encode = array ('notify_url', 'return', 'item_name'); <<< Error is on this line
    foreach ($paypal_args as $key => $value) :
    $paypal_link .= '&' . $key . '=' . (array_key_exists($key,$url_encode)?urlencode($val ue):$value);
    endforeach;
    header('Location: '.$paypal_link);
    exit;

    The url_encode search array that's compatible with the function array_key_exists should be set as follows: $url_encode = array ('notify_url'=>1, 'return'=>1, 'item_name'=>1);

    Please forward to your dev. team. Thanks.

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Resume Subscription Email Notification
    By pumapunku in forum Report JobRoller Bugs
    Replies: 1
    Last Post: August 4th, 2012, 07:05 PM
  2. Resume Subscription Problem
    By woreillyjr in forum Report JobRoller Bugs
    Replies: 5
    Last Post: March 7th, 2012, 09:46 AM
  3. Resume Subscription
    By kirk75 in forum Help Using JobRoller
    Replies: 1
    Last Post: December 25th, 2011, 12:56 AM
  4. resume subscription
    By hunter in forum Report JobRoller Bugs
    Replies: 1
    Last Post: December 18th, 2011, 06:37 AM