Register a Secure Payment Confirmation with Secure Payment

The relying party's (RP's) registration of a device should follow a sufficiently strong user verification process. The RP must make sure that the customer has signed in to the website using strong authentication so that the account is not easily hijacked. Be careful: a lack of security in this process puts SPC at risk as well.

Register an authenticator

To register a device for SPC, follow the WebAuthn registration process with the following requirements:

  • The platform authenticator is required: authenticatorSelection.authenticatorAttachment is platform.
  • The user verification is required: authenticatorSelection.userVerification is required.
  • Discoverable credentials (resident keys) are required: authenticatorSelection.residentKey is required.

Integrate standard Checkout to give your customers payment buttons for PayPal, Venmo, debit, and credit cards.

PayPal's JavaScript SDK supports how you want to accept payments on your website. Our SDK handles displaying the buttons for PayPal and other payment methods, so your customers can pay with whatever method they choose. They can also use a pre-built form to pay directly using credit or debit.

The JavaScript payload shows up in the global window object under the paypal namespace, so you can access it anywhere in your app to render any component in the JavaScript SDK.

{
    "name": "paypal-standard-integration-backend-node",
    "version": "1.0.0",
    "private": true,
    "type": "module",
    "dependencies": {
        "@paypal/paypal-server-sdk": "^0.5.1",
        "body-parser": "^1.20.3",
        "dotenv": "^16.3.1",
        "express": "^4.18.2"
    },
    "scripts": {
        "server-dev": "nodemon server.js",
        "start": "npm run server-dev",
        "prod": "node server.js",
        "format": "npx prettier --write **/*.{js,jsx,md}",
        "format:check": "npx prettier --check **/*.{js,jsx,md}"
    },
    "devDependencies": {
        "concurrently": "^8.2.1",
        "nodemon": "^3.0.1"
    }
}

If you're having trouble with your app, reinstall your local library and package files using npm install. If you're getting the following node error, include "type": "module" in your package.json file. This line isn't automatically added when package.json is created.

4 Comments

  1. Rian Seo
    Rian Seo
    Mantap banget gaya postingan nya

    • Rian Seo
      Rian Seo
      Hai
    • Rian Seo
      Rian Seo
      Komentar balasan yang membuat kamu jadi spaiderman!
  2. Rian Seo
    Rian Seo
    If you're having trouble with your app, reinstall your local library and package files using