Method | Description | |
---|---|---|
__construct ( array $options = [] ) | PayPalGateway constructor. | |
cancelPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
confirmPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
createPayment ( array $configuration, |
Creates a PayPal payment | |
executePayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
notifyPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) |
Method | Description | |
---|---|---|
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
getApiContext ( string $clientId, string $clientSecret, string $mode ) : |
Configures the PayPal API context |
public __construct ( array $options = [] ) | ||
$options | array |
public cancelPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
$payment | WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface |
public confirmPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
$payment | WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface |
public createPayment ( array $configuration, |
||
$configuration | array | |
$payer | ||
$redirectUrls | PayPal\Api\RedirectUrls | |
$transaction | ||
return |
public executePayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
$payment | WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface |
public notifyPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) | ||
$payment | WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface |