Kiosk - Configure Paypal API

Create a user to process paypal transactions

  1. Use a existing kiosk to make a new customer (uid) to process your paypal transactions. You can name this person whatever you like, such as "Paypal Cashier".  Set a security question for this user, and if you want this user can be registered at your event, if you would not like, just close the kiosk when you get to the step that asks you to choose membership.
  2. Activate this newly created UID as a cashier with the 'pre reg" permissions.

 

Activate your paypal API key

  1. Log into the website https://developer.paypal.com/developer/applications/create with your convention's paypal account 
  2. Name your REST API application, possibly Convention Master
  3. Click on the Create App button
  4. To the right of the your app Title will be a toggle for Sandbox/Live, click "Live".
  5. In the LIVE API CREDENTIALS box, will be your Client ID and Secret (click show). These will be needed for the next part.

 

Enter the API credentials into the convention master event.

  1. Log into your convention master website.
  2. Click on Admin - Event
  3. Click on Modify Events
  4. Select the event you want to add API system access to.
  5. Under the section Paypal Processing Settings enter
    1. Paypal Client ID - As provided by paypel website. (Copy the Live credentials)
    2. Paypal Secret Key - As provided by paypal website. (Copy the Live credentials)
    3. Paypal Cashier ID - The UID of your newly created paypal cashier.

 

Activate the Paypal API on any or all of your kiosks

  1. Log into your webserver, and edit the steps file (steps.inc.php) of any kiosk you wish to activate the paypal api on.
  2. If your steps file has the 98_online_payments step, then edit or add the $_SESSION['98_online_payment_main']['paypal'] = 'api';  If you already have $_SESSION['98_online_payment_main']['paypal'] and it = something else, change it to be 'api';

 

Setting paypal to sandbox mode

  • Add $_SESSION['98_online_payment_main']['paypal_sandbox'] = true; to your steps.inc.php file in order to set the paypal system into sandbox mode.  Note in order to do this you will most likely need to edit your event as well.