@waffo/pancake-nextjs 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -180,6 +180,12 @@ import { checkout } from "./lib/waffo";
|
|
|
180
180
|
For programmatic control — same props as `CheckoutButton`, returns `{ checkout, isLoading, error }`:
|
|
181
181
|
|
|
182
182
|
```tsx
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
> Passing `billingDetail` couples the cashier to the order's billing country: it then offers only that country's
|
|
186
|
+
> payment market and the customer cannot switch. The country that applies is the one on the finished order, not the
|
|
187
|
+
> one you sent; a country outside the payment markets we cover applies no restriction. Omit it to leave the cashier
|
|
188
|
+
> unrestricted.
|
|
183
189
|
import { useCheckout } from "@waffo/pancake-nextjs";
|
|
184
190
|
import { checkout as checkoutAction } from "./lib/waffo";
|
|
185
191
|
|