Miguel Carneiro

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Merchant key error #377577

    Miguel Carneiro
    Free User
    Post count: 34

    confirmed..

    may I ask, what was wrong ?
    I see the code is different but haven’t gone into it.

    in reply to: Merchant key error #377563

    Miguel Carneiro
    Free User
    Post count: 34

    double confirmed, if I comment out the md5 you are producing then I can transact normally.
    it is an optional variable, hence the test working
    ..

    oops , I see someone is on.. I’ll stop editing..

    I just reverted my edits for you

    in reply to: Merchant key error #377557

    Miguel Carneiro
    Free User
    Post count: 34
    This reply has been marked as private.
    in reply to: Merchant key error #377546

    Miguel Carneiro
    Free User
    Post count: 34

    error confirmed at line 289

    $pfOutput .= $key .'='. urlencode( trim( $val ) ) .'&';

    “&not” is being replaced with “¬”

    separating the functions didn’t help and gave same results…

    I then remembered that in some browsers the html parser needs proper validation.

    Please change lines 284 – 295 with my updated code

    OLD:

    
    
       $pfOutput ='';
        foreach( $data as $key => $val )
        {
            if(!empty($val))
            {
                $pfOutput .= $key .'='. urlencode( trim( $val ) ) .'&';
            }
        }
        // Remove last ampersand
        $getString = substr( $pfOutput, 0, -1 );

    With this new code:

    
    
       $pfOutput ='';
        foreach( $data as $key => $val )
        {
            if(!empty($val))
            {
                $pfOutput .= $key .'='. urlencode( trim( $val ) ) .'&amp';
            }
        }
        
        // Remove last ampersand
        $getString = substr( $pfOutput, 0, -4 );

    Now I’ll work on this Merchant_key issue …

    in reply to: Merchant key error #377537

    Miguel Carneiro
    Free User
    Post count: 34

    Found another error in your output string..

    …..pid%3D914¬ify_url=http%3A%2F%2Fwww……..

    &notify_url != ¬ify_url

    Md5 signature will fail in the array as its calculating falsely

    This sample is echoed out at line 300 after

    $data['signature'] = md5( $getString );
    in reply to: Merchant key error #377384

    Miguel Carneiro
    Free User
    Post count: 34
    This reply has been marked as private.
    in reply to: Merchant key error #377368

    Miguel Carneiro
    Free User
    Post count: 34

    also , fix spelling on line 112 … If you have a pass phrase set in your PyaFast

    in reply to: Merchant key error #377367

    Miguel Carneiro
    Free User
    Post count: 34
    This reply has been marked as private.
    in reply to: Merchant key error #377360

    Miguel Carneiro
    Free User
    Post count: 34
    This reply has been marked as private.
    in reply to: Merchant key error #377359

    Miguel Carneiro
    Free User
    Post count: 34

    if I use the standard settings for testing “sbtm02@payfast.co.za ” in sandbox its perfect.
    Not in live, it gives merchant_key invalid.

    When I switch to any one of my accounts then the MerchantKey error happens in test and signature error in live

    in reply to: Category Problem #375900

    Miguel Carneiro
    Free User
    Post count: 34

    Hang On !!!
    Crisis averted .. I think ..

    It only displays categories that have posts in them ..
    Tested it out in theory and this seems to be the problem, empty categories wont show ..

    This site gives me so much stress…. YOH!..
    Thanks for the help offer.. but I think this is how you guys coded the plugin.
    Makes sense, Just please update your documents about this so guys like me don’t waist your time.

    in reply to: Category Problem #375894

    Miguel Carneiro
    Free User
    Post count: 34
    This reply has been marked as private.
    in reply to: Category Problem #375699

    Miguel Carneiro
    Free User
    Post count: 34

    When I say all, I mean the categories , but would like to see the options of radio, check etc. actually reflect on the site too

    in reply to: Missing "My Account" on homepage #374404

    Miguel Carneiro
    Free User
    Post count: 34

    There is no such page as your screenshot shows ..
    Is there not a custom link or a setting to reflect this drop down ?
    please see the circled areas ..

    In the Supreme theme pages (left pic) its there , the right (divi) its not..
    both have the same menu, nothing is actually duplicated so surely it should carry across OR supreme has a function call I need to put somewhere in divi..

    in reply to: Successful page show code #374192

    Miguel Carneiro
    Free User
    Post count: 34

    Yes it does look like that..
    But thats a standard unmodified supreme directory page..
    This only came from porting to a live server..
    I deleted the page and created a empty new one which sorted it out..
    Very strange as the original was blank aswell ..
    But anyways, it looks sorted now, the porting from localhost to live has not been kind to me on this project..

Viewing 15 posts - 1 through 15 (of 19 total)