payment_source for testing purposes

MSachse
Contributor
Contributor

Hey,

i'm trying to test my interation of paypal with Unittests. The Testcase for captureOrder fail, because there is no User to set the Status to "approved" manually. I know, I can also send a payment_source in the body of the request, which should contain a type- and a id-value. These velues should be generated by Paypal, but I don't know how. 

Would be kind if someone can give me a hint 😊

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.