getDataObject(); $myBalance = $myWallet->getBalance(User::getId()); $planTitle = 'Test payment ' . date('Y-m-d h:i:s'); $_GET['plans_id'] = -1; $_page = new Page(array('Payment tests')); ?>

Subscription

getAvailableRecurrentPayments(); ?>

One time payment

getAvailablePayments(); ?>

Test Card Numbers for Stripe

Card Number Brand Response
4242 4242 4242 4242 Visa Success
5555 5555 5555 4444 Mastercard Success
4000 0025 0000 3155 Visa (debit) Success
4000 0000 0000 9995 Visa (declined) Card declined
4000 0000 0000 0127 Visa (processing error) Processing error
4000 0000 0000 0069 Visa (fraudulent) Card declined
4000 0027 6000 3184 Visa 3D Secure authentication required

Test Card Numbers for PayPal

Card Number Brand Response
4111 1111 1111 1111 Visa Success
5555 5555 5555 4444 Mastercard Success
4022 0028 8000 6242 Visa (debit) Success
4000 0000 0000 0002 Visa (declined) Card declined
4000 0000 0000 0127 Visa (processing error) Processor declined
4000 0000 0000 0069 Visa (fraudulent) Card declined
4000 0027 6000 3184 Visa 3D Secure authentication required
Note: These are test credit card numbers and should only be used in a test environment and should not be used for real transactions. CSC can be any 3-digit number and expiration date can be any future date.
print(); ?>