-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Go to https://www.npmjs.com/package/react-native-cloudpayments
Look at the example. There is a wrong importing package (there is no 's' to the end):
import RNCloudPayment from 'react-native-cloudpayment';
It should be like: import RNCloudPayment from 'react-native-cloudpayments';
There is another issue of example:
RNCloudPayment.getType(demoCard.number, demoCard.extDate, demoCard.cvvCode) .then(cardType => { console.log(getType); // MasterCard });
It will throw an exception because there is no getType variable. it should be cardType:
RNCloudPayment.getType(demoCard.number, demoCard.extDate, demoCard.cvvCode) .then(cardType => { console.log(cardType ); // MasterCard });
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels