weareseeed / react-square-web-payments-sdk

Easily create PCI-compliant inputs to accept payments online with the Square Payments API. It supports the following payment methods: credit and debit cards, ACH bank transfers, Apple Pay, Google Pay, Gift Cards and Afterpay/Clearpay.
https://react-square-payments.weareseeed.com/
MIT License
37 stars 40 forks source link

Classname typo in getting started documentation #61

Closed thecannabisapp closed 2 years ago

thecannabisapp commented 2 years ago

Describe the bug

Following the get started guide in the readme, there's a typo where PaymentForm is written as PaymentsForm and this class isn't exported since it's not there.

Screenshot 2022-06-06 at 13 11 33

Your Example Website or App

https://github.com/weareseeed/react-square-web-payments-sdk

Steps to Reproduce the Bug or Issue

  1. Follow the code example in the getting started guide.
  2. See VSCode TS warning Screenshot 2022-06-06 at 13 11 33

    g

Expected behavior

import { CreditCard, PaymentForm } from 'react-square-web-payments-sdk';

Screenshots or Videos

No response

Platform

Additional context

No response

danestves commented 2 years ago

Hi @chinesehemp I will close this issue here since we don't have the documentation in this repo, feel free to open the PR in the documentation repository https://github.com/weareseeed/rswps-site