I've a issue with payments generate and proccess on API v1

johnli07
New Community Member

Hello, I have a issue with paypal payments generate in server side with API services. The proccess return to "return_url" and generete the charge in payment method but I don't see these transacations in my dashboard. This is the JSON that I send to endpoint 

 

$data = [
        "intent" => "sale",
        "payer" => [
            "payment_method" => "paypal"
        ],
        "transactions" => [
            [
                "amount" => [
                    "total" => (float) $request["Amount"],
                    "currency" => "MXN",
                ],
                "purchase_description" => "Recuerda que los grandes actos de bondad se construyen con pequeños actos de amor y esperanza.",
            ]
        ],
        "redirect_urls" => [
            "return_url" => SERVER_URL . "/thanks",
            "cancel_url" => SERVER_URL,
        ]
    ];

 

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.