Console commands
Get Payment Status
$ php bin/console payum:status paypal --model-class=Acme\PaymentBundle\Entity\Payment --model-id=1
> Status: successCreate Notify Token
$ php bin/console payum:security:create-notify-token paypal --model-class=Acme\PaymentBundle\Entity\Payment --model-id=1
> Hash: oTA0w-SRaVY8U1pRr6MVshAtdjiogRENTlnJit6lYLg
> Url: http://localhost/payment/notify/oTA0w-SRaVY8U1pRr6MVshAtdjiogRENTlnJit6lYLg
> Details: Acme\PaymentBundle\Entity\Payment#1Create Purchase Token
$ php bin/console payum:security:create-capture-token paypal \
--model-class=Acme\PaymentBundle\Entity\Payment \
--model-id=1 \
--after-url="url-or-route-to-go-after-purchase"
> Hash: oTA0w-SRaVY8U1pRr6MVshAtdjiogRENTlnJit6lYLg
> Url: http://localhost/payment/capture/oTA0w-SRaVY8U1pRr6MVshAtdjiogRENTlnJit6lYLg
> After Url: url-or-route-to-go-after-purchase
> Details: Acme\PaymentBundle\Entity\Payment#1Debug payment
Supporting Payum
Last updated