Marketplace/PaymentServer: Difference between revisions

m
used_preapproval -> use_preapproval
m (used_preapproval -> use_preapproval)
Line 55: Line 55:
Example with pre-approval that worked:
Example with pre-approval that worked:


   {'user_id': 123, 'app_id': 456, 'amount': 1.00, 'currency': 'USD', 'used_preapproval': true,
   {'user_id': 123, 'app_id': 456, 'amount': 1.00, 'currency': 'USD', 'use_preapproval': true,
     'status': 'completed'}
     'status': 'completed'}


Example without pre-approval that worked, generating a paykey:
Example without pre-approval that worked, generating a paykey:


   {'user_id': 123, 'app_id': 456, 'amount': 1.00, 'currency': 'USD', 'used_preapproval': false,
   {'user_id': 123, 'app_id': 456, 'amount': 1.00, 'currency': 'USD', 'use_preapproval': false,
     'status': 'created', 'paykey': 'xxxx'}
     'status': 'created', 'paykey': 'xxxx'}


Confirmed users
65

edits