anchor.diff:  ----
   
   If you load the account page in Kaui, you should now see the two payment methods.
  +
  +A demo of that integration is available https://github.com/killbill/killbill-paypal-demo[here].
   
   === Processing payments
   
  
positive.code: 
  This will create a new payment method and set is as the default for the account. If you load the account page in Kaui, you should now see the payment method.
  
  ==== PayPal
  
  The PayPal flow is a bit different. You first need to tell PayPal you are going to create a token:
  
negative.code: ==== PayPal
  
  * Create a free account at https://developer.paypal.com[paypal.com]
  * Go to your https://developer.paypal.com/webapps/developer/applications/account[Dashboard] and click Create Account (You need both a Personal and a Business account). The Business account is for the merchant that will receive the money and the Personal account is for the customer that will purchase the subscription.
  * Login to the sandbox using the Personal account credentials and add some money
  
  You then need to contact support so they can enable recurring payments on your sandbox:
  
  * Go to https://www.paypal-techsupport.com/[PayPal Technical Support]
  * Create a ticket and ask to "Enable reference transactions for the Sandbox account XXXXX". Replace XXX with the API username of the Business test account you created (to see the username, click on Profile in the dashboard under the email address of the account, then click on the API credentials tab)
  
  This process can take up to 48 hours. In the meantime, while you will be able to test one-time purchases, you won't be able to test recurring transactions in PayPal.
  