Sandbox isnt working

ccontreras_ilis
Contributor
Contributor

Im trying to test a sandbox example

 

but when im in tryng to do a transanction that isnt respond visual example:

  1. When I Press the button "Pagar" that goes to the URL in the next image
    ccontreras_ilis_0-1730231238034.png
  2. Then I'll redirected to the PayPal Platform
    ccontreras_ilis_1-1730231333566.png
  3. When I Press "Continue to Review Order", the system launch a Modal
    ccontreras_ilis_2-1730231378893.png

     

  4. Then the page reload
    ccontreras_ilis_3-1730231409944.png

    and I will redirected againt to Step 2

 

that is the response when i check the order  by  https://api-m.sandbox.paypal.com/v2/checkout/orders/9TB0548119845092Y

 

 

{
    "id": "9TB0548119845092Y",
    "intent": "CAPTURE",
    "status": "APPROVED",
    "payment_source": {
        "paypal": {
            "email_address": "email",
            "account_id": "2HNY725AZ57E2",
            "account_status": "UNVERIFIED",
            "name": {
                "given_name": "Comprador Ilis",
                "surname": "Test"
            },
            "address": {
                "country_code": "US"
            }
        }
    },
    "purchase_units": [
        {
            "reference_id": "default",
            "amount": {
                "currency_code": "USD",
                "value": "10.00"
            },
            "payee": {
                "email_address": "email",
                "merchant_id": "539Q2JCZZSXMJ"
            },
            "shipping": {
                "name": {
                    "full_name": "Comprador Ilis Test"
                },
                "address": {
                    "address_line_1": "1 Main St",
                    "admin_area_2": "San Jose",
                    "admin_area_1": "CA",
                    "postal_code": "95131",
                    "country_code": "US"
                }
            }
        }
    ],
    "payer": {
        "name": {
            "given_name": "Comprador Ilis",
            "surname": "Test"
        },
        "email_address": "email",
        "payer_id": "2HNY725AZ57E2",
        "address": {
            "country_code": "US"
        }
    },
    "create_time": "2024-10-29T19:37:41Z",
    "links": [
        {
            "href": "https://api.sandbox.paypal.com/v2/checkout/orders/9TB0548119845092Y",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https://api.sandbox.paypal.com/v2/checkout/orders/9TB0548119845092Y",
            "rel": "update",
            "method": "PATCH"
        },
        {
            "href": "https://api.sandbox.paypal.com/v2/checkout/orders/9TB0548119845092Y/capture",
            "rel": "capture",
            "method": "POST"
        }
    ]
}

 

 

 

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.