• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

paypal Integartion not work

General Discussion
3
9
310
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Bharti last edited by 5 Sept 2024, 08:39

    buttons?style.layout…ue&vault=false:1597 click_initiate_payment_reject
    {err: 'Error: Expected an order id to be passed\n at ht…8Jw-4JIqixFe95dt7PZm9P6KTCE&currency=INR:3:13483)', timestamp: '1725524657989', referer: 'www.paypal.com', sdkCorrelationID: '0864841017273', sessionID: 'uid_b19f8203c4_mdg6mji6mdy', …}
    buttonCorrelationID
    :
    "f14646611f757"
    buttonSessionID
    :
    "uid_ea5278a989_mdg6mjq6mtq"
    clientID
    :
    "AYLsOsME-eyK2zMgBlyZq0EVazJPQNZANwW-HMA2Znci35GgB9rOj8Jw-4JIqixFe95dt7PZm9P6KTCE"
    clientMetadataId
    :
    "uid_b19f8203c4_mdg6mji6mdy"
    env
    :
    "production"
    err
    :
    "Error: Expected an order id to be passed\n at
    referer
    :
    "www.paypal.com"
    sdkCorrelationID
    :
    "0864841017273"
    sdkVersion
    :
    "5.0.457"
    sessionID
    :
    "uid_b19f8203c4_mdg6mji6mdy"
    timestamp
    :
    "1725524657989"
    token
    :
    null
    webviewType
    :
    "none"
    [[Prototype]]
    :
    Object
    constructor
    :
    ƒ Object()
    hasOwnProperty
    :
    ƒ hasOwnProperty()
    isPrototypeOf
    :
    ƒ isPrototypeOf()
    propertyIsEnumerable
    :
    ƒ propertyIsEnumerable()
    toLocaleString
    :
    ƒ toLocaleString()
    toString
    :
    ƒ toString()
    valueOf
    :
    ƒ valueOf()
    defineGetter
    :
    ƒ defineGetter()
    defineSetter
    :
    ƒ defineSetter()
    lookupGetter
    :
    ƒ lookupGetter()
    lookupSetter
    :
    ƒ lookupSetter()
    proto
    :
    (...)
    get proto
    :
    ƒ proto()
    set __pr

    this error show when I click on paypal

    B 1 Reply Last reply 6 Sept 2024, 06:23 Reply Quote 0
    • B
      Bharti @Bharti last edited by 6 Sept 2024, 06:23

      @Bharti

      Hello

      please take a overview to this issue as soon as possible its urgent

      B 1 Reply Last reply 9 Sept 2024, 05:32 Reply Quote 0
      • B
        Bharti @Bharti last edited by 9 Sept 2024, 05:32

        @Bharti Hello no response till?

        B 1 Reply Last reply 9 Sept 2024, 10:00 Reply Quote 0
        • B
          Bharti @Bharti last edited by 9 Sept 2024, 10:00

          @Bharti USD currency also show error
          click_initiate_payment_reject {err: 'Error: Expected an order id to be passed\n at ht…t8Bzaskalkfk-_EjTpc_1SpuLz0&currency=USD:3:13483)'
          [3:18 PM, 9/9/2024] bharti thombre: {
          "additional_properties": {},
          "body": {
          "intent": "CAPTURE",
          "payer": {
          "name": {
          "given_name": "",
          "surname": "
          "
          },
          "address": {
          "address_line_1": "",
          "address_line_2": "",
          "admin_area_2": "Bangor",
          "admin_area_1": "ME",
          "postal_code": "752111",
          "country_code": "US"
          },
          "email_address": "
          ",
          "phone": {
          "phone_type": "MOBILE",
          "phone_number": {
          "national_number": "xxxxxx"
          }
          }
          },
          "application_context": {
          "shipping_preference": "SET_PROVIDED_ADDRESS"
          },
          "purchase_units": [
          {
          "amount": {
          "value": 300.12,
          "currency_code": "USD",
          "breakdown": {
          "item_total": {
          "currency_code": "USD",
          "value": 300
          },
          "shipping": {
          "currency_code": "USD",
          "value": 0.12
          },
          "tax_total": {
          "currency_code": "USD",
          "value": 0
          },
          "discount": {
          "currency_code": "USD",
          "value": 0
          }
          }
          },
          "items": [
          {
          "unit_amount": {
          "currency_code": "USD",
          "value": 300
          },
          "quantity": 1,
          "name": "Warli Art | Tribal Dance Form | Artist Anil | 56"x43.5" | Geru & Acrylic Painting | AKK 09",
          "sku": "AKK09",
          "category": "PHYSICAL_GOODS"
          }
          ],
          "shipping": {
          "address": {
          "address_line_1": "***",
          "address_line_2": "",
          "admin_area_2": "Bangor",
          "admin_area_1": "ME",
          "postal_code": "752111",
          "country_code": "US"
          }
          }
          }
          ]
          },
          "header": {
          "accept": "/",
          "accept-encoding": "gzip",
          "akamai-x-forwarded-for-7": "xxxxxx",
          "api-integration-type": "xxxxxx",
          "authorization": "xxxxx",
          "client-auth": "xxxxx",
          "client_info": "xxxxxx",
          "content-length": "1189",
          "content-type": "application/json",
          "correlation-id": "63545560e6b23",
          "edge-locator": "xxxxxx",
          "edgeid": "xxxxxx",
          "host": "api.sandbox.paypal.com",
          "paypal-partner-attribution-id": "Bagisto_Cart",
          "paypal-routing-metadata": "xxxxxx",
          "pp_client_ssl_cipher": "TLS_AES_256_GCM_SHA384",
          "pp_client_ssl_protocol": "TLSv1.3",
          "pp_geo_loc": "SG",
          "pp_remote_addr": "23.106.49.134",
          "pp_vip": "173.0.93.228",
          "prefer": "return=representation",
          "sdk-name": "xxxxxx",
          "sdk-tech-stack": "xxxxxx",
          "sdk-version": "xxxxxx",
          "traceparent": "xxxxxx",
          "user-agent": "PayPalSDK/Checkout-PHP-SDK 1.0.1 (platform-ver=8.2.22; bit=64; os=Linux_4.18.0; machine=x86_64; crypto-lib-ver=1.1.1k; curl=7.61.1)",
          "x-b3-spanid": "xxxxxx",
          "x-forwarded-for": "10.96.25.202",
          "x-forwarded-proto": "xxxxxx",
          "x-paypal-correlation-id": "63545560e6b23",
          "x-pp-ads-performed": "true",
          "x-pp-corrid": "63545560e6b23",
          "x-pp-idempotencyid": "63545560e6b23_1725874467",
          "x-pp-slingshot-targetapp": "apiplatformproxyserv",
          "x-sigsci-agentresponse": "xxxxxx",
          "x-sigsci-mac": "xxxxxx",
          "x-sigsci-requestid": "xxxxxx",
          "x-slr-orig-script_uri": "https://api.sandbox.paypal.com/v2/checkout/orders"
          },
          "method": "POST",
          "query_param": ""
          }

          ashish2409 1 Reply Last reply 9 Sept 2024, 10:34 Reply Quote 0
          • ashish2409
            ashish2409 @Bharti last edited by 9 Sept 2024, 10:34

            Subject: Request for Additional Information on Issue

            Hello Bharti,

            Could you please provide the steps you followed and share a screenshot to give us a clearer understanding of the issue you're encountering?

            It would be helpful if you could explain the issue in more detail. We are eager to assist you in resolving it.

            Best regards
            Bagisto Team

            B 1 Reply Last reply 9 Sept 2024, 10:37 Reply Quote 0
            • B
              Bharti @ashish2409 last edited by 9 Sept 2024, 10:37

              @ashish2409 I sending to Url of website then you can check
              https://galleryuniqueart.com/

              B 1 Reply Last reply 9 Sept 2024, 10:49 Reply Quote 0
              • B
                Bharti @Bharti last edited by 9 Sept 2024, 10:49

                @Bharti its not work with INR then I try for USD but its its not work

                this is screenshots

                https://prnt.sc/krIizGaDZs6H
                https://prnt.sc/JIozXYgG7YzO
                https://prnt.sc/gt12UTxZ56Ld
                https://prnt.sc/4wwrV1FJOJ0z

                "400 ERROR 63545560e6b23 POST /v2/checkout/orders Request is not well-formed, syntactically incorrect, or violates schema.
                INVALID_STRING_LENGTH
                Request is not well-formed, syntactically incorrect, or violates schema."

                paypal sandbox response
                Request
                {
                "additional_properties": {},
                "body": {
                "intent": "CAPTURE",
                "payer": {
                "name": {
                "given_name": "",
                "surname": "
                "
                },
                "address": {
                "address_line_1": "",
                "address_line_2": "",
                "admin_area_2": "Bangor",
                "admin_area_1": "ME",
                "postal_code": "752111",
                "country_code": "US"
                },
                "email_address": "
                ",
                "phone": {
                "phone_type": "MOBILE",
                "phone_number": {
                "national_number": "xxxxxx"
                }
                }
                },
                "application_context": {
                "shipping_preference": "SET_PROVIDED_ADDRESS"
                },
                "purchase_units": [
                {
                "amount": {
                "value": 300.12,
                "currency_code": "USD",
                "breakdown": {
                "item_total": {
                "currency_code": "USD",
                "value": 300
                },
                "shipping": {
                "currency_code": "USD",
                "value": 0.12
                },
                "tax_total": {
                "currency_code": "USD",
                "value": 0
                },
                "discount": {
                "currency_code": "USD",
                "value": 0
                }
                }
                },
                "items": [
                {
                "unit_amount": {
                "currency_code": "USD",
                "value": 300
                },
                "quantity": 1,
                "name": "Warli Art | Tribal Dance Form | Artist Anil | 56"x43.5" | Geru & Acrylic Painting | AKK 09",
                "sku": "AKK09",
                "category": "PHYSICAL_GOODS"
                }
                ],
                "shipping": {
                "address": {
                "address_line_1": "*****",
                "address_line_2": "",
                "admin_area_2": "Bangor",
                "admin_area_1": "ME",
                "postal_code": "752111",
                "country_code": "US"
                }
                }
                }
                ]
                },
                "header": {
                "accept": "/",
                "accept-encoding": "gzip",
                "akamai-x-forwarded-for-7": "xxxxxx",
                "api-integration-type": "xxxxxx",
                "authorization": "xxxxx",
                "client-auth": "xxxxx",
                "client_info": "xxxxxx",
                "content-length": "1189",
                "content-type": "application/json",
                "correlation-id": "63545560e6b23",
                "edge-locator": "xxxxxx",
                "edgeid": "xxxxxx",
                "host": "api.sandbox.paypal.com",
                "paypal-partner-attribution-id": "Bagisto_Cart",
                "paypal-routing-metadata": "xxxxxx",
                "pp_client_ssl_cipher": "TLS_AES_256_GCM_SHA384",
                "pp_client_ssl_protocol": "TLSv1.3",
                "pp_geo_loc": "SG",
                "pp_remote_addr": "23.106.49.134",
                "pp_vip": "173.0.93.228",
                "prefer": "return=representation",
                "sdk-name": "xxxxxx",
                "sdk-tech-stack": "xxxxxx",
                "sdk-version": "xxxxxx",
                "traceparent": "xxxxxx",
                "user-agent": "PayPalSDK/Checkout-PHP-SDK 1.0.1 (platform-ver=8.2.22; bit=64; os=Linux_4.18.0; machine=x86_64; crypto-lib-ver=1.1.1k; curl=7.61.1)",
                "x-b3-spanid": "xxxxxx",
                "x-forwarded-for": "10.96.25.202",
                "x-forwarded-proto": "xxxxxx",
                "x-paypal-correlation-id": "63545560e6b23",
                "x-pp-ads-performed": "true",
                "x-pp-corrid": "63545560e6b23",
                "x-pp-idempotencyid": "63545560e6b23_1725874467",
                "x-pp-slingshot-targetapp": "apiplatformproxyserv",
                "x-sigsci-agentresponse": "xxxxxx",
                "x-sigsci-mac": "xxxxxx",
                "x-sigsci-requestid": "xxxxxx",
                "x-slr-orig-script_uri": "https://api.sandbox.paypal.com/v2/checkout/orders"
                },
                "method": "POST",
                "query_param": ""
                }

                Response
                {
                "additional_properties": {},
                "body": {
                "name": "INVALID_REQUEST",
                "message": "Request is not well-formed, syntactically incorrect, or violates schema.",
                "debug_id": "63545560e6b23",
                "details": [
                {
                "field": "/purchase_units/@reference_id=='default'/amount/value",
                "value": "xxxxxx",
                "location": "body",
                "issue": "INVALID_STRING_LENGTH",
                "description": "The value of a field is either too short or too long."
                },
                {
                "field": "/purchase_units/@reference_id=='default'/amount/breakdown/shipping/value",
                "value": "xxxxxx",
                "location": "body",
                "issue": "INVALID_STRING_LENGTH",
                "description": "The value of a field is either too short or too long."
                }
                ],
                "links": [
                {
                "href": "https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH",
                "rel": "information_link",
                "encType": "xxxxxx"
                }
                ]
                },
                "duration_time": 156,
                "header": {
                "APPLICATION_ID": "APP-80W284485P519543T",
                "Access-Control-Expose-Headers": "xxxxxx",
                "BORDER-IP": "xxxxxx",
                "CALLER_ACCT_NUM": "6CCVG729HZJ84",
                "Date": "Mon, 09 Sep 2024 09:34:27 GMT",
                "PROCESSING-IP": "xxxxxx",
                "SERVER_INFO": "xxxxxx",
                "Server-Timing": "xxxxxx",
                "paypal-debug-id": "63545560e6b23"
                },
                "status": 400
                }

                1 Reply Last reply Reply Quote 0
                • Rishabh-Webkul
                  Rishabh-Webkul last edited by 9 Sept 2024, 11:03

                  Hello @Bharti

                  Kindly raise your ticket at https://bagisto.uvdesk.com/en/customer/create-ticket/

                  Thanks & Regards

                  B 1 Reply Last reply 9 Sept 2024, 11:19 Reply Quote 0
                  • B
                    Bharti @Rishabh-Webkul last edited by 9 Sept 2024, 11:19

                    @Rishabh-Webkul Ok thank you sir

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post