Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .changeset/fruity-dots-jog.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-cards-load.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tip-api-error-translations.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/localizations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @godaddy/localizations

## 1.0.14

### Patch Changes

- dff57f0: Add the missing tip `apiErrors` translations to every locale

## 1.0.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/localizations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@godaddy/localizations",
"version": "1.0.13",
"version": "1.0.14",
"description": "Internationalization localizations for GoDaddy checkout components",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down
19 changes: 19 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @godaddy/react

## 1.0.58

### Patch Changes

- dff57f0: Support tips in unified checkout

Adds the `tips` session config surface (`default` and threshold-based `amounts`/`percentages` presets) alongside `enableTips`, and includes the selected tip in wallet sheet totals and the authorized/confirmed amount.

For redirect gateways (CCAvenue), the authorized tip is persisted across the redirect so the confirmation on the return leg records the tip the customer was actually charged. Checkout refuses to redirect when a non-zero tip cannot be persisted, rather than sending the customer to pay a tip the order would not include.

Express checkout stays tip-free: its wallet sheets open on the item subtotal and add the shipping and taxes they calculate in their own event flows, and its confirmation records no tip.

Presets worth more than the order total are not offered, and a selection a later discount puts out of reach is cleared. Percentages are a proportion of the item subtotal while the API bounds the tip by the order total, so on a discounted order a preset could be picked and then rejected at Pay; the option is now withheld instead. "No tip" and "Custom amount" are always available, and a custom amount is still left for the API to rule on.

Also gives every `Button` a `cursor-pointer`, so buttons rendered as `<button>` show a pointer cursor on hover instead of the browser default.
- a869359: Allow GoDaddy payment forms and wallets to load without an application ID. Continue passing configured application IDs and session overrides to Collect when supplied. Only load the Collect SDK when the session has a configured GoDaddy payment method.
- Updated dependencies [dff57f0]
- @godaddy/localizations@1.0.14

## 1.0.57

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@godaddy/react",
"private": false,
"version": "1.0.57",
"version": "1.0.58",
"type": "module",
"types": "./dist/index.d.ts",
"files": [
Expand Down