You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I click the PayPal purchase button I expect to modal window to be visible.
Actual behavior
The modal shows for a brief moment then closes automatically.
Steps to reproduce the behavior
I have not tried to reproduct it yet but customer has provided logs that seem to confirm the issue
Customer's website is using product variations which are long titles
The actual product name + variation looks like this: Agriculture Business Plan Template - Click to Add-on Agriculture Business Funding Package includes 12 Slide Pitch Deck Template PowerPoint .pptx + 4 funding eBooks (add-on does not include business plan template) Digital Download.
Response Code: 400; Message: Unexpected response when creating order:
Log data:
{"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"6e9f7b41d4781","details":[{"field":"/purchase_units/@reference_id=='5f3b7478822d44aa406b3071497cd54f'/items/1/name","value":"Agriculture Business Plan Template - Click to Add-on Agriculture Business Funding Package includes 12 Slide Pitch Deck Template PowerPoint .pptx + 4 funding eBooks (add-on does not include business plan template) Digital Download.","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":"application/json"}]}
Information (if a specific version is affected):
PHP Version:
EDD Version (or branch): latest
WordPress Version:latest
Tested locally with a download with that title and the maximum characters that will work is 127 as download title. Anything higher will cause the issue.
Bug Report
Expected behavior
When I click the PayPal purchase button I expect to modal window to be visible.
Actual behavior
The modal shows for a brief moment then closes automatically.
Steps to reproduce the behavior
The actual product name + variation looks like this:
Agriculture Business Plan Template - Click to Add-on Agriculture Business Funding Package includes 12 Slide Pitch Deck Template PowerPoint .pptx + 4 funding eBooks (add-on does not include business plan template) Digital Download.
Information (if a specific version is affected):
PHP Version:
EDD Version (or branch): latest
WordPress Version:latest
Any other relevant information:
Reported by a customer here https://secure.helpscout.net/conversation/1646086556/195199?folderId=2048992
The text was updated successfully, but these errors were encountered: