I hereby claim:
- I am ppalavilli on github.
- I am ppalavilli (https://keybase.io/ppalavilli) on keybase.
- I have a public key ASBBpzMZW6zpwzl1K5twdtxJUIe-zC4ivIK8jXK7xWindgo
To claim this, I am signing this object:
| { | |
| "address":{ | |
| "status":"ADDED", | |
| "type":"BUSINESS", | |
| "createdAt":"2015-01-20T21:27:47Z", | |
| "updatedAt":"2016-09-07T11:06:46Z", | |
| "id":116, | |
| "line1":"19644 Business Drive", | |
| "line2":"Suite 708", | |
| "city":"Palo Alto", |
| { | |
| "taxExempted":false, | |
| "createdAt":"2016-07-09T09:06:46Z", | |
| "updatedAt":"2016-07-09T09:06:46Z", | |
| "context":{ | |
| "employeeUserId":1543071, | |
| "storeDeviceId":"urn:tid:27c899f2-cf33-3a8f-99a0-c9db8cdd3153", | |
| "transactionInstruction":"NONE", | |
| "source":"INSTORE", | |
| "businessId":"20dc39af-a26a-4c76-a209-4b226059e246", |
| { | |
| "orders":[ | |
| { | |
| "taxExempted":false, | |
| "createdAt":"2016-07-09T09:06:46Z", | |
| "updatedAt":"2016-07-09T09:06:46Z", | |
| "context":{ | |
| "employeeUserId":1543071, | |
| "storeDeviceId":"urn:tid:27c899f2-cf33-3a8f-99a0-c9db8cdd3153", | |
| "transactionInstruction":"NONE", |
| Verifying that +ppalavilli is my openname (Bitcoin username). https://onename.io/ppalavilli |
I hereby claim:
To claim this, I am signing this object:
| ... | |
| ... | |
| "links":[ | |
| { | |
| "href":"https://api.sandbox.paypal.com/v1/payments/sale/1PK6356827846603W", | |
| "rel":"self", | |
| "method":"GET" | |
| }, | |
| { | |
| "href":"https://api.sandbox.paypal.com/v1/payments/sale/1PK6356827846603W/refund", |
| require_once('services/PayPalApi/PayPalAPIInterfaceServiceService.php'); | |
| /* setup payment details */ | |
| orderTotal = new BasicAmountType( '-your-currency-code-', '-your-amount-'); | |
| $PaymentDetails= new PaymentDetailsType(); | |
| $PaymentDetails->OrderTotal = $orderTotal; | |
| /* create DoExpressCheckout request details */ | |
| $DoECRequestDetails = new DoExpressCheckoutPaymentRequestDetailsType(); | |
| $DoECRequestDetails->PayerID = '-payer-id-from-get-EC-call; |
| require_once('services/PayPalApi/PayPalAPIInterfaceServiceService.php'); | |
| /* Create GetExpressCheckoutDetails request with token*/ | |
| $getExpressCheckoutDetailsRequest = new GetExpressCheckoutDetailsRequestType('-token-from-setEC-call-'); | |
| $getExpressCheckoutDetailsRequest->Version = 85.0; | |
| $getExpressCheckoutReq = new GetExpressCheckoutDetailsReq(); | |
| $getExpressCheckoutReq->GetExpressCheckoutDetailsRequest = $getExpressCheckoutDetailsRequest; | |
| /* execute the GetExpressCheckoutDetails API call */ | |
| $paypalService = new PayPalAPIInterfaceServiceService(); |
| require_once('services/PayPalApi/PayPalAPIInterfaceServiceService.php'); | |
| /* Setup Payment Details */ | |
| $PaymentDetails= new PaymentDetailsType(); | |
| $PaymentDetails->OrderTotal = new BasicAmountType('-your-currency-code-', '-your-amount-'); | |
| $PaymentDetails->PaymentAction = 'Sale'; | |
| $PaymentDetails->OrderDescription = '-your-payment-order-description-'; | |
| /* Setup Checkout request details */ | |
| $setECReqDetails = new SetExpressCheckoutRequestDetailsType(); |
| /* | |
| * Copyright 2005, 2008 PayPal, Inc. All Rights Reserved.*/ | |
| import com.paypal.sdk.services.NVPCallerServices; | |
| import com.paypal.sdk.util.*; | |
| import com.paypal.sdk.exceptions.PayPalException; | |
| import com.paypal.sdk.profiles.APIProfile; | |
| import com.paypal.sdk.profiles.ProfileFactory; | |
| /** |