Skip to content

Commit 0df4b36

Browse files
committed
Merge pull request #40 from cfreear/master
PayPal ProGateway purchase call fix
2 parents d253626 + eb18546 commit 0df4b36

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)