Skip to content

This guide references version 1 of the SDK #1

Open
@mckinlde

Description

@mckinlde

This guide integrates version 1 of the SDK; could you refer me to a similar guide for version 2?

On line 79 of the referenced script.js (link 1 below), the urlParam passed to script_to_head() uses a hosted-fields param. The hosted-fields param is used by version 1 of the SDK (link 2), where version 2 of the SDK expects a card-fields. (link 3)

I don't mean to be a pain, but PayPal directly states that new integrations should use SDK version 2. If I built a v1 integration, would it be supported?

  1. https://github.com/paypaldev/PayPal-Advanced-Checkout-Tutorial/blob/main/script.js
  2. https://developer.paypal.com/sdk/js/v1/reference/#link-overview
  3. https://developer.paypal.com/sdk/js/reference/#link-overview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions