Skip to content

Commit eb18546

Browse files
author
Christian Freear
committed
Fix PayPal ProGateway purchase() call
was creating a ProAuthorizeRequest instead of a ProPurchaseRequest
1 parent d253626 commit eb18546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/PayPal/ProGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function authorize(array $parameters = array())
7373

7474
public function purchase(array $parameters = array())
7575
{
76-
return $this->createRequest('\Omnipay\PayPal\Message\ProAuthorizeRequest', $parameters);
76+
return $this->createRequest('\Omnipay\PayPal\Message\ProPurchaseRequest', $parameters);
7777
}
7878

7979
public function capture(array $parameters = array())

0 commit comments

Comments
 (0)