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
fix: handle discovery response with and without ucp wrapper
The latest samples server (01-23) returns profile fields at the top
level without a "ucp" wrapper key. Older servers wrap under {"ucp": {...}}.
Use data.get("ucp", data) to handle both formats.
Also adds required id and line_item_ids fields to fulfillment method
and group in create payload (required by latest server).
0 commit comments