* feat(medusa-payment-paypal): Migrate to the new payment processor API * WIP * WIP * WIP unit tests * WIP * unit tests * fix package.json * yarn * cleanup * address feedback 1/2 * Start to implement a new Paypal SDK * cleanup * finalise sdk * cleanup * fix push missing file * rename sdk methods * unit test the http client * WIP * fix http client * Create .changeset/empty-melons-eat.md * refactor tests * fix quote * fix options * cleanup * do not retry auth * WIP * retry mechanism max attempts * use both old and new options * fix capture * remove totals fields * add missing method * cleanup * fix current tests * authorize should update the data with the fresh order * remove comments * fix tests * Update packages/medusa-payment-paypal/src/core/paypal-http-client.ts Co-authored-by: Riqwan Thamir <rmthamir@gmail.com> * fix unit tests * update changeset --------- Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
medusa-payment-stripe
Add Stripe as a Payment Provider.
Learn more about how you can use this plugin in the documentaion.
Options
{
api_key: "STRIPE_API_KEY",
webhook_secret: "STRIPE_WEBHOOK_SECRET",
// automatic_payment_methods: true,
// This description will be used if the cart context does not provide one.
// payment_description: "custom description to apply",
}
Automatic Payment Methods
If you wish to use Stripe's automatic payment methods set the automatic_payment_methods flag to true.
Deprecation
The stripe plugin version >=1.2.x requires medusa >=1.8.x