Online Card Deposits
After you connect Stripe, PAYUNi or NewebPay, customers who book a service with a deposit can pay it by card on your booking page, and the booking is confirmed automatically after payment. With Stripe, payments go to your Stripe account. With PAYUNi or NewebPay, that provider pays out to you.
In this guide
- Get your keys from the provider's dashboard: a restricted key for Stripe; Merchant ID, Hash Key and Hash IV for PAYUNi and NewebPay
- Connect in Settings → Payments. Customers can then pay deposits by card
- Bookings are confirmed automatically after payment. If the customer doesn't pay within 20 minutes of booking, the booking is canceled automatically
- When a payment result needs your check, the appointment shows Needs review
- To refund a deposit, refund it in the provider's dashboard first, then record the refund in Dolyu
Who can do this
Only the Owner and Admins can connect payment providers and handle payments that need review.
Deposit amounts per service and the new-customers-only setting are shared with LINE Pay and bank transfer. See Booking Rules & Policies. PAYUNi and NewebPay only accept TWD; Stripe supports many currencies. If your business currency isn't one the provider supports, its row on the Payments page shows a notice, and customers don't see that payment method.
Get your keys
Each provider needs different fields. See the sections below for where to find them:
| Provider | Fields |
|---|---|
| Stripe | Restricted key |
| PAYUNi | Merchant ID, Hash Key, Hash IV |
| NewebPay | Merchant ID, HashKey, HashIV |
Get your Stripe key
For the countries and regions where Stripe is available, see Stripe's list. Dolyu uses a restricted key, which needs only two permissions.
Open the API keys page in Stripe
Sign in to your Stripe Dashboard, open the API keys page, and click "Create restricted key".
Set permissions
Enter a name you'll recognize in "Key name", set "Checkout Sessions" and "Payment Intents" to "Write", leave everything else at "None", and click "Create key".
Copy the key
Complete the two-factor verification Stripe sends you, then click the key value to copy it. Stripe won't show it again, so paste it into Dolyu or save it somewhere safe first.
Note
These steps follow Stripe's docs on restricted API keys.
Get your PAYUNi keys
Sign in to PAYUNi and find the Merchant ID, Hash Key and Hash IV in your store's integration details. PAYUNi card payments range from 1 to 199,999 TWD per transaction (PAYUNi docs: amount limits).
Get your NewebPay keys
Find the Merchant ID, HashKey and HashIV in your store details in the NewebPay member area. Dolyu sends the payment notification URL to NewebPay with each payment, so you don't need to set it in NewebPay.
Connect a provider
Open "Payments"
Go to Settings → Payments and click Connect on the row of the provider you want: Stripe 2, PAYUNi 4 or NewebPay 5.
Paste your keys
Paste the values you got for your provider, then click Verify and connect.
Stripe: Paste the key into 1 Restricted key.
PAYUNi: Fill in 1 Merchant ID, 2 Hash Key and 3 Hash IV.
NewebPay: Fill in 1 Merchant ID, 2 HashKey and 3 HashIV.
Dolyu checks the keys with the provider first and saves them only if they pass. If the provider doesn't accept them, a message appears below the fields and the panel stays open. The Stripe key, Hash Key and Hash IV aren't shown again after saving.
Check that it's on
After you connect for the first time, the provider turns on automatically, and the row shows "Connected" and a toggle. With the toggle off, customers don't see that payment method, and the connection stays.
After connecting, click Manage on the row to:
- Update keys: Switch to new keys. They're checked the same way before they replace the old ones, and the toggle doesn't change. While a customer payment is still being processed, you can't switch to a different account: for Stripe, any different key counts as a different account; for PAYUNi and NewebPay, it depends on the Merchant ID, so changing only the Hash Key and Hash IV under the same Merchant ID isn't affected.
- Disconnect: Delete the saved keys. Customers can no longer pay deposits with that provider. Payments you've already received aren't affected. If a customer payment is still being processed, you can disconnect once it finishes.
Turn on Apple Pay, Google Pay and Samsung Pay
The PAYUNi and NewebPay payment pages offer only cards by default. To let customers also pay deposits with Apple Pay, Google Pay or Samsung Pay:
- Enable the payment method in your provider account first.
- Go to Settings → Payments, click Manage on that provider's row, and turn it on under Payment methods.
When you turn one on, Dolyu first checks with the provider that it's enabled for your store, and turns it on only if it is. If it isn't enabled yet, the toggle switches back and the reason appears under that row. Credit card is always on. If you later update your keys with the same Merchant ID, the payment methods you turned on stay on. With a different Merchant ID, they go back to cards only and you need to turn them on again.
With Stripe, Apple Pay, Google Pay and Link appear based on your payment method settings in the Stripe Dashboard. There's nothing to set up in Dolyu.
How customers pay
When a customer books a service with a deposit:
- The confirmation step shows the deposit amount. If you have more than one payment method on, the customer chooses one.
- With a card provider, the customer clicks Continue to payment to submit the booking, then pays by card or another payment method you've turned on on the provider's payment page. The PAYUNi and NewebPay payment pages ask the customer for the payer's email.
- After paying, the customer returns to the booking page. The booking is confirmed and shows text like "Paid with Stripe", with the name of the provider the customer paid through.
- The payment deadline is 20 minutes after booking. If the appointment starts earlier, the start time is the deadline. If the deposit isn't paid by then, the booking is canceled automatically.
- The PAYUNi payment page accepts payment for 10 minutes after it opens. If the PAYUNi payment page can still accept payment when the deadline passes, the booking is canceled only after the page expires and no payment is found.
- If the customer leaves without finishing (including going back from the payment page), they can click Try again on the booking page before the deadline. If you have bank transfer on, they can also click Pay by bank transfer instead, and the deadline then follows your bank transfer setting.
Check payment status in the dashboard
The Payment column in the appointment list and the deposit card in the appointment details show the online payment status, starting with the provider name, such as "Stripe payment in progress" or "PAYUNi needs review":
- Payment in progress: The customer is paying. The appointment is confirmed automatically once payment completes. You can't record the deposit separately in the meantime.
- Paid: The details show when it was paid and the transaction ID. Copy the transaction ID to look it up in the provider's dashboard.
- Needs review: See the next section.
While a customer's payment result is being confirmed, you can't change the appointment's services for the moment. Refresh and try again shortly.
Handle payments that need review
When a payment result needs your check, the appointment shows Needs review, and the Owner and Admins are notified. Open the appointment details. The deposit card explains why and which button to use:
- Payment result unclear: Look up the transaction ID in the provider's dashboard. If you received the money, click Payment received → Record payment. Dolyu records a payment from that provider and confirms the appointment if it's still awaiting this deposit. If you didn't receive it, click Not received.
- Payment received and recorded, but the appointment was no longer awaiting this deposit (for example, you had already confirmed or canceled it, or the deposit amount had changed): Dolyu doesn't confirm it automatically. Handle it as needed, then click Reviewed.
- Business currency changed during the payment: This payment can't be recorded in Dolyu. Look it up in the provider's dashboard, refund it there if you received it, then click Reviewed.
Appointments that need review aren't canceled automatically when the payment deadline passes. After you click Not received or Reviewed, an appointment that's still awaiting its deposit is canceled automatically if the deadline has passed.
Refunds
Dolyu only records refunds. The refund itself happens in the provider's dashboard. To refund a deposit paid by card:
- Refund it in the dashboard of the provider the customer paid through first.
- Back in Dolyu, click Refund on the appointment, choose that provider (Stripe, PAYUNi or NewebPay) as the Refund method, enter the amount and reason, and submit. This only records the refund and doesn't touch the money at the provider.
FAQ
Can I turn on Stripe, PAYUNi, NewebPay and LINE Pay at the same time?
Yes. Each one is connected and switched on separately, and customers choose one of the payment methods you have on when they book.
Do appointments I create in the dashboard ask customers to pay by card?
No. Appointments you create in the dashboard don't require a deposit.
Do I still need to confirm the booking after the customer pays?
No. The booking is confirmed automatically once payment completes. Only payments marked Needs review need your action.