Hi,
I integrated this plugin into my cakephp application.
The merchant's account is credited with the payment. However, the balance in the customer's personal account is not deducted.
I tried the above using the paypal sandbox.
Here is the snippet of the code I used:
$this->Paypal = new Paypal(
array(
'sandboxMode' => true,
'nvpUsername' => 'phpanika-facilitator_api1.gmail.com',
'nvpPassword' => 'xxxxxxxx',
'nvpSignature' => 'XXXXXXXXXXXXXXXXXXXX'
)
);
$payment = array(
'amount' => 2.00,
'card' => '4032 0311 6136 6470',
'type' => 'Visa',
'expiry' => array(
'M' => '10',
'Y' => '2019',
),
'cvv'=>'433',
'currency' => 'USD'
);
$this->Paypal->doDirectPayment($payment);
Hi, I integrated this plugin into my cakephp application. The merchant's account is credited with the payment. However, the balance in the customer's personal account is not deducted.
I tried the above using the paypal sandbox.
Here is the snippet of the code I used: $this->Paypal = new Paypal( array( 'sandboxMode' => true, 'nvpUsername' => 'phpanika-facilitator_api1.gmail.com', 'nvpPassword' => 'xxxxxxxx', 'nvpSignature' => 'XXXXXXXXXXXXXXXXXXXX' ) ); $payment = array( 'amount' => 2.00, 'card' => '4032 0311 6136 6470', 'type' => 'Visa', 'expiry' => array( 'M' => '10', 'Y' => '2019', ), 'cvv'=>'433', 'currency' => 'USD' ); $this->Paypal->doDirectPayment($payment);
Please let me know whats the problem.