Closed nkuldip closed 7 years ago
Did the buyer approve the the payment before you execute the payment?
test facilitator's Test Store suspended your automatic payments This message received in sandbox notification.
Please provide your 'debugId" for us to do troubleshooting. Please help answer my previous question as well.
I'm workin on PayPal Payments in PHP. Now i am using paypal recurring payment option all proccess don but last operation not done propery and payment not received.
Everything was fine until i got this error: Got Http response code 400 when accessing api.sandbox.paypal.com/v1/payments/paymen Here is code '<?php
namespace App\Http\Controllers;
use Auth; use App\User; use App\PaymentTransaction;
use App\Http\Requests; use Illuminate\Http\Request; use Validator; use URL; use Session; use Redirect; use Input; / All Paypal Details class / use PayPal\Rest\ApiContext; use PayPal\Auth\OAuthTokenCredential;
// use to process billing agreements use PayPal\Api\Agreement; use PayPal\Api\Payer; use PayPal\Api\Plan; use PayPal\Api\ShippingAddress;
// Used to process plans use PayPal\Api\ChargeModel; use PayPal\Api\Currency; use PayPal\Api\MerchantPreferences; use PayPal\Api\PaymentDefinition; use PayPal\Api\Patch; use PayPal\Api\PatchRequest; use PayPal\Common\PayPalModel; use PayPal\Exception\PayPalConnectionException;
class PaypalBillingController extends Controller { private $apiContext; private $client_id; private $secret; private $plan_id;
}'
Why this is happening? How can I fix that? Please help me. Thanks