Last active
February 3, 2018 03:31
-
-
Save jonathanjd/1ef584834f04331f62550f9454d53dab to your computer and use it in GitHub Desktop.
Confirmar Pago con Paypal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function studentPlanPaymentStore(Request $request) | |
| { | |
| # code... | |
| $payment = PaypalPayment::getById($request->paymentId, PaypalPayment::apiContext()); | |
| $execution = PaypalPayment::PaymentExecution()->setPayerId($request->PayerID); | |
| $payment = $payment->execute($execution, PaypalPayment::apiContext()); | |
| dd($payment); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment