Reference Transaction from Billing Agreement v1 - Internal Service Error

dzerium
Contributor
Contributor

Express checkout token: EC-9W0269664V591044V

Billing Agreement Token: BA-3X11947571864252R

Agreement ID: I-5TNFC89PU07P

 

with the ID, I could suspend and resume the billing agreements. 

 

However when I try to create a reference transaction, I am getting:  Internal Sserver Error.

 

here's the body of my request: 

 

{
      "intent""sale",
      "payer":
      {
        "payment_method""PAYPAL",
        "funding_instruments": [
        {
          "billing":
          {
            "billing_agreement_id""I-7DM59JJLMVB0"
          }
        }]
      },
      "transactions": [
      {
        "amount":
        {
          "currency""EUR",
          "total""1.00"
        },
        "description""Payment transaction.",
        "custom""Payment custom field.",
        "note_to_payee""Note to payee field.",
        "item_list":
        {
          "items": [
          {
            "sku""coffee",
            "name""ItemNo1",
            "description""The item description.",
            "quantity""1",
            "price""1.00",
            "currency""EUR"
          }]
        }
      }],
      "redirect_urls":
      {
        "return_url""https://example.com/return",
        "cancel_url""https://example.com/cancel"
      }
    }

 

 

Response: 

{
    "name""INTERNAL_SERVICE_ERROR",
    "message""An internal service error has occurred",
    "debug_id""eb1a40928d275"
}
 
Could someone help me with this? Thank you very much!
 
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.