paypal Integartion not work
-
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¤cy=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 __prthis error show when I click on paypal
-
-
@Bharti Hello no response till?
-
@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¤cy=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": ""
} -
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 -
@ashish2409 I sending to Url of website then you can check
https://galleryuniqueart.com/ -
@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
} -
Hello @Bharti
Kindly raise your ticket at https://bagisto.uvdesk.com/en/customer/create-ticket/
Thanks & Regards
-
@Rishabh-Webkul Ok thank you sir