Chapter 37 · Configuration

Payments: Stripe, PayPal and bank transfer

The fees of the website are paid online by card with Stripe, with PayPal, or by bank transfer. Each method takes a few minutes to set up.

Menu Settings › Payments
Payment settings
Settings › Payments with Stripe, PayPal and bank transfer.

Stripe (cards, Apple Pay, Google Pay)

  1. Create an account at stripe.com.
  2. In the Stripe Dashboard open Developers › API keys and copy the secret key. Use the test key (sk_test_...) first to try payments with the Stripe test cards.
  3. In Developers › Webhooks click Add endpoint with the address https://www.yourdomain.com/include/stripe_webhook.php and the event checkout.session.completed. Copy the webhook signing secret.
  4. In PHP Bid turn on Stripe, paste the secret key and the webhook secret, and save.

The webhook confirms the payment even if the member closes the browser before returning to your website. When the tests work, replace the test keys with the live keys.

PayPal

  1. Open developer.paypal.com › Apps & Credentials and create an app.
  2. Copy the Client ID and the Secret into PHP Bid.
  3. Tick Sandbox to test with PayPal test accounts; untick it and use the live credentials to accept real payments.

Bank transfer

Turn it on and enter your bank details (bank, account holder, IBAN, BIC/SWIFT). Members see them with the amount and the invoice number as reference. When the money arrives, confirm it in Sales › Invoices & payments.

Block members with unpaid fees

Block after (days): a member with a commission or buyer's premium unpaid for longer than this can not list new items. 0 = never.

Test

Use Save & test to check the connection. Then make a test purchase with a featured listing and check that the invoice becomes paid.

HTTPS: use an SSL certificate (https) on your website before accepting live card payments.