public function testList()
 {
     self::authorizeFromEnv();
     $receiver = $this->createTestBitcoinReceiver("*****@*****.**");
     $receivers = Stripe_BitcoinReceiver::all();
     $this->assertTrue(count($receivers->data) > 0);
 }
Example #2
0
 protected static function createTestBitcoinReceiver($email)
 {
     $receiver = Stripe_BitcoinReceiver::create(array('amount' => 100, 'currency' => 'usd', 'description' => 'some details', 'email' => $email));
     return $receiver;
 }