خرید بک لینک

Vote count: 0

To show the Paypal plus iFrame (REST API) i make a Request with JSON

{
"intent": "sale",
"experience_profile_id": "XP-XXXX-XXXX-XXX-XXX",
"redirect_urls": {
"retu_url": "https://www.XXXXXXX.de/bestellen.php",
"cancel_url": "https://www.XXXXXXX.de/zahlungabbruch.php"
},

"payer": {  
    "payment_method": "paypal"  
},  
"transactions": [{  
    "amount": {  
        "total": "53.45",  
        "currency": "EUR",  
        "details": {  
            "subtotal": "49.5",  
            "shipping": "3.95"  
        }  
    },  
    "description": "Tollewolle",  
    "invoice_number": "",  
    "item_list": {  
        "items": [  

            {  
                "quantity": "4",  
                "name": "Fine Kid - 50",  
                "price": "8.25",  
                "currency": "EUR",  
                "sku": "8-50"  
            },  

            {  
                "quantity": "2",  
                "name": "Fine Kid - 208",  
                "price": "8.25",  
                "currency": "EUR",  
                "sku": "8-208"  
            }  

        ]  
    },  
    "shipping_address": {  
        "line1": "Rechnungs Str. 41",  
        "city": "Flensburg",  
        "postal_code": "24939",  
        "country_code": "DE"  
    }  
}]  

}

Without the shipping_address it works fine. With the address i get an Error 'MALFORMED_REQUEST'

asked 42 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 29 تير 1395 ساعت: 0:51

صفحه بندی