• hi. when i create a manual request to create a key, it returns error, when txn_id is a bit long. see this:

    add_action('init', function(){
      if(!is_admin()){
    
    	$_REQUEST['slm_action'] = 'slm_create_new';
    	$_REQUEST['secret_key'] = EDD_SLM_API_SECRET;
    	$_REQUEST['first_name'] =  '';
    	$_REQUEST['last_name'] =  '';
    	$_REQUEST['email'] =   '[email protected]';
    	$_REQUEST['company_name'] = '';
    	$_REQUEST['txn_id'] = 'XYZXYZ74638- The WordPress Book labels & backgrounds generator (Full Version)';  // <------ this line makes a problem. if you shorten the name, problem goes on
    	$_REQUEST['max_allowed_domains'] = 1;		// 1
    	$_REQUEST['date_created'] = date('Y-m-d');  //date('Y-m-d');	//2018-01-20
    	$_REQUEST['date_expiry'] = '0000-00-00';  // '0000-00-00';	//0000-00-0	
    
    	$n = new SLM_API_Listener();
    
      }
    });

    i think it’s because in slm-installer you have:
    txn_id varchar(64) NOT NULL default '',

    • This topic was modified 7 years, 1 month ago by tazotodua.
    • This topic was modified 7 years, 1 month ago by tazotodua.
    • This topic was modified 7 years, 1 month ago by tazotodua.
    • This topic was modified 7 years, 1 month ago by tazotodua.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reporting this bug. The plugin developers will investigate further your findings.

    Kind regards

    Plugin Author mra13

    (@mra13)

    Transaction ID can be only 64 characters long. The purpose of that column is to hold the paypal transaction ID which is way less than 64 characters long.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘bug in plugin’ is closed to new replies.