How to use of pay pal java API

后端 未结 1 1824
迷失自我
迷失自我 2021-01-18 09:24

I am developing web application in that i have included pay pal payment system, i am making use of java API my, i have got API key, password and API certificates also, but i

相关标签:
1条回答
  • 2021-01-18 09:54

    Here you can get some guidance:

    • Copy 'adaptivepayments-java-sdk.jar' to your class path.
    • Copy the configuration file 'sdk_config.properties' in SDK 'resource' folder to your project.
    • Import AdaptivePaymentsService into your code.
    • Load the configuration file into your application with this method call as required:

      new AdaptivePaymentsService(new File(".../sdk_config.properties")); 
      
    • Create a service wrapper object.
    • Create a request object as per your project needs.
    • Invoke the appropriate method on the service wrapper object.
    0 讨论(0)
提交回复
热议问题